View Complete Thread
  • Re: Windows Server 2008 r2 and Powershell snapin

    Nov 04, 2009 05:09 PM|realzafu|LINK

    I am new to powershell and had this same problem on getting iis snap-in loaded. once i installed IIS snap in i found i need to use special shortcut to start like this... C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -psconsolefile "C:\Program Files\IIS\PowerShellSnapin\IIsConsole.psc1" -NoExit -command set-location IIS:\;clear-host IIsConsole.psc1 looks like: 1.0 or in PS Command window enter command Add-PSSnapIn WebAdministration Get-PSProvider #will show loaded providers