What do I need to install to have IIS snap-in / drive support in powershell for the following OS's?
Win2008R1
Win2008R2
Win2012
scott
Technology Tips and News
What do I need to install to have IIS snap-in / drive support in powershell for the following OS's?
Win2008R1
Win2008R2
Win2012
scott
http://www.iis.net/downloads/microsoft/powershell
Once installed, you do Add-PSSnapin WebAdminist
Web Administration is built into WS2008 and later. Just use Add-Feature to install.
DO NOT install aftermarket modules.
https://technet.microsoft.com/en-us/library/Ee790599.aspx
if iis administration is installed then just use:
Import-Module WebAdministration
If PS 3 or later the modules will load automatically when an CmdLet is referenced.
Web Administration is built into WS2008R2 and later. Just use Add-Feature to install.
DO NOT install aftermarket modules.
https://technet.microsoft.com/en-us/library/Ee790599.aspx
if iis administration is installed then just use:
Import-Module WebAdministration
If PS 3 or later the modules will load automatically when an CmdLet is referenced.
the post specifically states R2 and 2012. It does not list WS2008.
the post specifically states R2 and 2012. It does not list WS2008.
I am assuming that is a typo.
You can use the CmdLets on R2 to access a standard 2008 IIS.
Yes but we both shouldn't assume anything, and since we haven't heard back from the OP, that is all we can do.
Yes you are correct, Win 2008 R2 and greater, you just need to enable the feature and then either Import-Module WebAdministration for Powershell 2.0 or just use the cmdlets with Powershell 3.0 or above and it will automatically import the module.
If it is also required to be on Win 2008 Standard, then the OP must install the add on, and then do a Add-PSSnapin WebAdministration in order to access the cmdlets.
Web Administration is built into WS2008R2 and later. Just use Add-Feature to install.
DO NOT install aftermarket modules.
https://technet.microsoft.com/en-us/library/Ee790599.aspx
if iis administration is installed then just use:
Import-Module WebAdministration
If PS 3 or later the modules will load automatically when an CmdLet is referenced.
the post specifically states R2 and 2012. It does not list WS2008.