fbpx

Launch PowerShell ISE with another Credential

In a situation, where you are login in your laptop, when you launch the PowerShell it will be your current login credential

image

I need to login with another credential which has admin rights to perform certain tasks

SNAGHTML64b5603

When a box appears, key in your password

A new PowerShelll ISE is launch

image

And now I can carry out the tasks in this window with admin rights

In summary the command is

Start-Process powershell_ise.exe -Credential “yourdomainadminID”  

Make changes to the syntax in yellow.  The command must have the quotes as shown.

keywords : launch powershell ise with another credential, launch powershell  ISE with administrator rights, power shell

This post first appeared on Systems Center - Virtualization. Read the original article.