Hi,Camelot.
because when i was trying to import module pspki
i get the error like below.
i think the powershell can not regonize those tow strange command . 1 朏unction 2 朚odule two
Although i have corrected to function and module , it didn't work.
so, i have to make the "#" before those two line to annotate it .
because when i was trying to import module pspki
i get the error like below.
i think the powershell can not regonize those tow strange command . 1 朏unction 2 朚odule two
Although i have corrected to function and module , it didn't work.
so, i have to make the "#" before those two line to annotate it .
-
Export-ModuleMember <<<< 朏unction @(Get-Command 朚odule $ExecutionContext.SessionState.Module | Where-Object {$Rest
rictedFunctions -notcontains $_.Name})- CategoryInfo : InvalidArgument: (:) [Export-ModuleMember], ParameterBindingException
-
FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.ExportModuleMemberCommand
-
Export-ModuleMember -Alias @(Get-Command <<<< 朚odule $ExecutionContext.SessionState.Module)
- CategoryInfo : ObjectNotFound: (朚odule:String) [Get-Command], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand