search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Assign IIS7 Application Pool to Website with Powershell
Posted in Hosting & IIS7, Windows Powershell | No Comment | 5,627 views | 16/12/2010 21:52

Powershell function to assign application pool to website in IIS7.

Function Set-AppPool
{
Param ($Description, $AppPool)
 
	Set-ItemProperty IIS:\Sites\$Description -Name ApplicationPool -Value "$AppPool"
}

Description is the name of website in IIS7.



Leave a Reply