Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >_ Import-Module ap-psadmin -Force
- At C:\Users\user\Documents\WindowsPowerShell\Modules\ap-psadmin\ap-psadmin.psm1:26 char:77
- + Write-Host "$pcname has been disabled and moved to disabled workstations"
- + ~
- The string is missing the terminator: ".
- At C:\Users\user\Documents\WindowsPowerShell\Modules\ap-psadmin\ap-psadmin.psm1:12 char:37
- + Function reset-pwd ([String]$uname) {
- + ~
- Missing closing '}' in statement block.
- + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
- + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString
- Import-Module : The specified module 'ap-psadmin' was not loaded because no valid module file was found in any module directory.
- At line:1 char:1
- + Import-Module ap-psadmin -Force
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : ResourceUnavailable: (ap-psadmin:String) [Import-Module], FileNotFoundException
- + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement