PowerShell to Pre-Create domain objects for SQL Server Cluster

  • Comments posted to this topic are about the item PowerShell to Pre-Create domain objects for SQL Server Cluster

  • The Quest cmdlets are pretty good at managing permissions. For example if you want to assign full control to the "ClusterAdmin" group on all computer objects in the "OU" OU, you can do:

    add-qadpermission "$($env:USERDNSDOMAIN)/OU" -account "$($env:USERDOMAIN)\ClusterAdmin" -Rights 'GenericAll' -ApplyTo 'ChildObjects' -applyToType computer

  • I agree with you, however I'm writing this from the angle that the DBA has no rights or even say on the Domain, and the Domain Admins don't want to install 3rd party tools or commands on the Production Domain.

    My script would allow them to create the OU and the subsequent computers within the pre-existing framework.

  • Thanks for the script.

  • DBAFahim (4/30/2013)


    I agree with you, however I'm writing this from the angle that the DBA has no rights or even say on the Domain, and the Domain Admins don't want to install 3rd party tools or commands on the Production Domain.

    My script would allow them to create the OU and the subsequent computers within the pre-existing framework.

    Good point.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply