Hi, I’m trying to get the following working in Windows 10. Works fine in Windows 7. We have two IDs where I work. One is a normal id and the other is an Admin ID. Trying to get this to work with my Admin ID.
$global:cred = Get-Credential -Credential 'Dom1\' Start-Process "C:\Program Files\Desktop\DesktopPowershellAPPS\Console.exe" -Credential $cred }
I get the following error. Start-Process : This command cannot be run due to the error: The requested operation requires elevation. Thanks for any help in advance.