launch a true powershell window from command prompt

Issue: You need to launch a new powershell window from a command prompt.  This is useful in many scenarios including managing a Windows Hyper-V core server.

Solution: From a command prompt, enter the following: runas /user:administrator “powershell.exe”

Or for PowerShell version 2.0:
runas /user:administrator “powershell.exe -version 2.0”

Look for my next article on managing Hyper-V Server Core from Powershell…

Related

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.