[IIS] How to generate PowerShell code to configure IIS

Great little blog describing how to use the built in Configuration Editor to generate PowerShell to configure your IIS Site:

https://blogs.iis.net/jeonghwan/how-to-use-iisadministration-powershell-cmdlets-to-configure-iis-configuration-settings

Remember you need to import the Web Modules to achieve this (installed by default on an IIS server) using the following:

Import-Module WebAdministration

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s