I need to run an .EXE as Administrator.
Start_Process powershell -verb runas /user:administrator $ccmsetup $ cmswitch -Wait
When I run this I get the following error.
Start-Process : A positional parameter cannot be found that accepts argument 'c:\windows\ccmsetup\ccmsetup.exe /uninstall'
What is my syntax error? I've tried using double quotes and I get the same error.