Public/System/Import-Class.ps1
function Import-Class { [CmdletBinding()] [CmdLetTag()] param ( # Imports classes from a powershell module [Parameter(Mandatory)] [string] $ModuleName ) begin { } process { & (Get-Module $ModuleName) {[c]::new()} } end { } } |