Add-WindowsFeature Web-Server Add-Content -Path "C:\inetpub\wwwroot\Default.htm" -Value $($env:computername) New-Item -ItemType directory -Path "C:\inetpub\wwwroot\images" New-Item -ItemType directory -Path "C:\inetpub\wwwroot\video" $imagevalue = "Images: " + $($env:computername) Add-Content -Path "C:\inetpub\wwwroot\images\test.htm" -Value $imagevalue $videovalue = "Video: " + $($env:computername) Add-Content -Path "C:\inetpub\wwwroot\video\test.htm" -Value $videovalue