Archive for the ‘PowerShell’ Category

Create IIS NLB Copy Full Website Resource Windows 2008R2 With Powershell (2011-6-27)

If you are Building a Webfarm you need often Test websites and all the Sites needs to be the same Well below is a powershell Scripts that copy the Site and Creates a new one On the Same Server.   # NAME: Copy-Website.ps1 # # AUTHOR: Robert Smit # EMAIL: robert.smit@aca-computers.nl # # COMMENT: Script [...]

Create Services Cluster Resource Windows 2008R2 With Powershell (2011-6-27)

In a Cluster You can cluster Services this can be done by the wizzard Or with Powershell. Below a easy powershell script to create a clustered services. In my case I used the altiris Services You can adjust this whit any services You like. Add-ClusterGroup -Name AltirisGroup Add-ClusterResource -Name Altiris -Resourcetype "Generic Service" -group AltirisGroup [...]