Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:10 char:57
- + $myWindowsID=[System.Security.Principal.WindowsIdentity]GetCurrent()
- + ~~~~~~~~~~
- Unexpected token 'GetCurrent' in expression or statement.
- At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:10 char:68
- + $myWindowsID=[System.Security.Principal.WindowsIdentity]GetCurrent()
- + ~
- An expression was expected after '('.
- At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:14 char:58
- + ... adminRole=[System.Security.Principal.WindowsBuiltInRole]Administrator
- + ~~~~~~~~~~~~~
- Unexpected token 'Administrator' in expression or statement.
- At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:25 char:40
- + $null = $Host.UI.RawUI.ReadKey(NoEcho,IncludeKeyDown)
- + ~
- Missing ')' in method call.
- At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:25 char:40
- + $null = $Host.UI.RawUI.ReadKey(NoEcho,IncludeKeyDown)
- + ~~~~~~
- Unexpected token 'NoEcho' in expression or statement.
- At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:25 char:46
- + $null = $Host.UI.RawUI.ReadKey(NoEcho,IncludeKeyDown)
- + ~
- Missing argument in parameter list.
- At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:22 char:29
- + if (-Not $checkWorkDir) {
- + ~
- Missing closing '}' in statement block or type definition.
- At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:17 char:47
- + if ($myWindowsPrincipal.IsInRole($adminRole)) {
- + ~
- Missing closing '}' in statement block or type definition.
- At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:25 char:61
- + $null = $Host.UI.RawUI.ReadKey(NoEcho,IncludeKeyDown)
- + ~
- Unexpected token ')' in expression or statement.
- At C:\DRIVERS\WIN\AUDIO\AutoCad\mouse_manager.ps1:27 char:5
- + }
- + ~
- Unexpected token '}' in expression or statement.
- Not all parse errors were reported. Correct the reported errors and try again.
- + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
- + FullyQualifiedErrorId : UnexpectedToken
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement