Search
Home IIS.NET Forums IIS 7 & IIS 8 PowerShell Script to redirect IIS
Last post May 08, 2010 12:26 AM by marcoshaw
1 Post
May 06, 2010 04:05 PM|LINK
Add-WebConfiguration -Filter "/system.webServer/httpRedirect" -PSPath "IIS:\Sites\Default Web Site" -value @{enabled="true";destination=http://iis.net;exactDestination="true";httpResponseStatus="Permanent"};
Getting an error - the term add-webconfiguration is not a cmdlet.
47 Posts
May 08, 2010 12:26 AM|LINK
jsb1022
1 Post
Script to redirect IIS
May 06, 2010 04:05 PM|LINK
Add-WebConfiguration -Filter "/system.webServer/httpRedirect" -PSPath "IIS:\Sites\Default Web Site" -value @{enabled="true";destination=http://iis.net;exactDestination="true";httpResponseStatus="Permanent"};
Getting an error - the term add-webconfiguration is not a cmdlet.
marcoshaw
47 Posts
Re: Script to redirect IIS
May 08, 2010 12:26 AM|LINK