Advertisement
Guest User

Untitled

a guest
Dec 17th, 2019
451
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:10 char:57
  2. + $myWindowsID=[System.Security.Principal.WindowsIdentity]GetCurrent()
  3. + ~~~~~~~~~~
  4. Unexpected token 'GetCurrent' in expression or statement.
  5. At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:10 char:68
  6. + $myWindowsID=[System.Security.Principal.WindowsIdentity]GetCurrent()
  7. + ~
  8. An expression was expected after '('.
  9. At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:14 char:58
  10. + ... adminRole=[System.Security.Principal.WindowsBuiltInRole]Administrator
  11. + ~~~~~~~~~~~~~
  12. Unexpected token 'Administrator' in expression or statement.
  13. At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:25 char:40
  14. + $null = $Host.UI.RawUI.ReadKey(NoEcho,IncludeKeyDown)
  15. + ~
  16. Missing ')' in method call.
  17. At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:25 char:40
  18. + $null = $Host.UI.RawUI.ReadKey(NoEcho,IncludeKeyDown)
  19. + ~~~~~~
  20. Unexpected token 'NoEcho' in expression or statement.
  21. At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:25 char:46
  22. + $null = $Host.UI.RawUI.ReadKey(NoEcho,IncludeKeyDown)
  23. + ~
  24. Missing argument in parameter list.
  25. At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:22 char:29
  26. + if (-Not $checkWorkDir) {
  27. + ~
  28. Missing closing '}' in statement block or type definition.
  29. At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:17 char:47
  30. + if ($myWindowsPrincipal.IsInRole($adminRole)) {
  31. + ~
  32. Missing closing '}' in statement block or type definition.
  33. At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:25 char:61
  34. + $null = $Host.UI.RawUI.ReadKey(NoEcho,IncludeKeyDown)
  35. + ~
  36. Unexpected token ')' in expression or statement.
  37. At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:27 char:5
  38. + }
  39. + ~
  40. Unexpected token '}' in expression or statement.
  41. Not all parse errors were reported. Correct the reported errors and try again.
  42. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
  43. + FullyQualifiedErrorId : UnexpectedToken
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement