Archive for the ‘power’ Category

Create Services Cluster Resource Windows 2008R2 With Powershell

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
Get-ClusterResource -Name Altiris |Set-ClusterParameter -Name ServiceName -value "Altiris Deployment Agent"
Get-ClusterResource -Name "Altiris" |Set-ClusterParameter -Name StartupParameters -value "C:Program FilesAltirisDagentdagent.exe"

  • Tag