locked
Powershell cluster role policies RRS feed

  • Question

  • I have powershell scripts that create a role and applies to a cluster, but cannot identify a method to automate the configuration of advanced policies or polices for each role that is added.

    Is their a powershell module that has this functionality, or if not is there a way to build out functionality that performs this task.  Without will invalidate our automation approach, so it would be great to find a solution.

    Thanks

    PS if this is the wrong forum then please advise which one is correct and i'll ask there.

    Thursday, October 8, 2020 10:56 AM

All replies

  • after many hours of search have come across a solution, hardly nice but it seems to work.  This is for policies so far

    get-clusterresource -name "#resource Name#" | foreach-object -process {$_.#propertytochange# = #New value#}

    Thursday, October 8, 2020 11:36 AM