Posts Tagged PowerShell ISE
Run Powershell ISE with different user credentials
Posted by Loknath in PowerShell on December 26, 2013
To run PowerShell or PowerShell ISE with different user credentials,:
1. Open PowerShell window
2. Run the command.
Start-Process “c:\windows\system32\WindowsPowerShell\v1.0\PowerShell_ISE.exe” -Credential “DomainName\UserName”
or
Start-Process “c:\windows\system32\WindowsPowerShell\v1.0\PowerShell.exe” -Credential “DomainName\UserName”
3. This will prompt for password. Provide the password and PowerShell(ISE) will open in a new window.
4. Note: Your PowerShell(ISE) executable file location may be different based on version and installation folder. To get the path details, right click on Powershell(ISE) on start menu and select “Properties”. The path will be mentioned under Shortcut >> Target field.
Recent Comments