Showing posts with label ServerManager. Show all posts
Showing posts with label ServerManager. Show all posts

Saturday, May 10, 2008

Turn on PowerShell in Server 2008

 

PowerShell v1 is included with Windows Server 2008 as a feature/optional component and it is turned off by default. To use it you have to add it using Server Manager, which available as: MMC console and a command line utility.

Here is how to turn it on, only one line of code, using the ServerManagerCmd.exe command-line tool. BTW, ServerManagerCmd also has a parameter -whatIf, I wonder where did it came from :)

-i Is a shortcut for -install
-w is for -whatIf

 

When the installation process ends, PowerShell's shortcuts are available under the Start menu:

 

Launch PowerShell (no need to reboot) and you're ready to go, don't forget to change the execution policy if you need to execute scripts.

 

posh

 

More Info: