Hi, I have a PowerShell GUI that I’m trying to get to work with Windows 10. I get start-process: this command cannot be run due to the error: The requested operation requires elevation. The GUI works great in windows 7.
$buttonSetCredentials_Click={ #TODO: Place custom script here $global:cred = Get-Credential -Credential 'Dom1\' }
Once the credentials are set I use them to launch applications using my Administrator account.
$buttonRadiaConsoleSC_Click={ #TODO: Place custom script here Start-Process "C:\Program Files\Desktop\DesktopPowershellAPPS\RADIA 91 Console.exe" -Credential $cred }
Any ideas? Thanks for any help in advance.