To add the Web Server Administration module to the instance of Windows PowerShell that you have opened, run the following ...

To add the Web Server Administration module to the instance of Windows PowerShell that you have opened, run the following command at the command prompt: C:\PS>Import-Module WebAdministration.

If you are running Windows 2008, use the following command: C:\PS>Add-PSSnapin WebAdministration.