The Tech Dispatcher

by Ben Lew

  • Topics

  • Archives

  • January 2010
    S M T W T F S
     12
    3456789
    10111213141516
    17181920212223
    24252627282930
    31  

Powershell:The New Command Prompt

Posted by benlew2 on 01/18/2010

For my MCITP class my instructor, Joe, is using Powershell, as he calls it the new Command prompt. In class we were shown how to use syntax , rather than GUI to install roles or features of Server 2008.  For example, he wanted the class to install the components for a successful WSUS server. These were Windows authentication, Static Content, ASP.NET, IIS 6.0 Management compatibility, and IIS 6.0 metabase compatibility. After starting up Powershell, the syntax to install any server roles or Features is:

 servermanagercmd -install [name of roles/features]

For WSUS to work, the web server role must be installed first. But Joe always asks what is the name of the role to be installed or how to find the name of the role. Just type the following syntax:

servermanagercmd -query

Later, in this article, I will add the names of roles or features for the WSUS server to be used with servermanagercmd.

Leave a comment