Creating Web Application in IIS 7.5 Windows 7/Windows Server 2008 R2 using powershell

Hi All, Back again with one more research of mine,This time it is about creating a virtual directory/web application in IIS using powershell. I have executed this script in IIS 7.5, Windows 7 32 bit Pro. But, I think it should work with 2008 R2 as well. Import-Module webadministration Set-Location 'IIS:\Sites\Default Web Site' if (Test-Path '.\Mockups') { Remove-Item '.\Mockups' -Recurse -Force echo 'Mockup Deleted' [Read More]