The goal here is to start an EXE in elevated mode and make sure the Working Directory is set. It does not have to be done with the 'Start-Process' command.
I have these 2 commands:
powershell Start-Process -FilePath notepad.exe -WorkingDirectory "C:\Users\xyz\Documents"
This one sets the WD so that when I click "File> Save as" I can see the WD shown in the popup.
powershell Start-Process -FilePath notepad.exe -WorkingDirectory "C:\Users\xyz\Documents" -Verb Runas
I want to achieve the results of the 1st command, in the 2nd elevated command. Thanks