Advertisement
Guest User

Untitled

a guest
Aug 13th, 2017
1,253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. >_ Import-Module ap-psadmin -Force
  2. At C:\Users\user\Documents\WindowsPowerShell\Modules\ap-psadmin\ap-psadmin.psm1:26 char:77
  3. + Write-Host "$pcname has been disabled and moved to disabled workstations"
  4. + ~
  5. The string is missing the terminator: ".
  6. At C:\Users\user\Documents\WindowsPowerShell\Modules\ap-psadmin\ap-psadmin.psm1:12 char:37
  7. + Function reset-pwd ([String]$uname) {
  8. + ~
  9. Missing closing '}' in statement block.
  10. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
  11. + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString
  12.  
  13. Import-Module : The specified module 'ap-psadmin' was not loaded because no valid module file was found in any module directory.
  14. At line:1 char:1
  15. + Import-Module ap-psadmin -Force
  16. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  17. + CategoryInfo : ResourceUnavailable: (ap-psadmin:String) [Import-Module], FileNotFoundException
  18. + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement