I am new to powershell.I want to open the command promt as Admin and change the directory using powershell script to a destination folder "D:\Temp" and and run a foo.war file
I have tried various forms by adding -Path "location of folder" to the command Start-Process -verb RunAs cmd.exe and -Working Directory
Start-Process -verb RunAs cmd.exe
When I run the powershell script it must open the command prompt as Admin and change to Directory "D:\Temp"