Grant-ClusterAccess PowerShell cmdlet of Windows Failover Cluster allows you to grant domain users with full or read only access to a Windows Failover Cluster. In case you need to know who all has access to a Windows Failover Cluster, use Get-ClusterAccess PowerShell cmdlet.
- Get-ClusterAccess | Export-CSV AccessList.CSV -NoTypeInformation
Above command gets the list of users that have access to the failover cluster and output is stored in a CSV file. Output looks like below:
Cluster | AccessControlType | ClusterRights | IdentityReference |
HVCluster | Allow | Full | BUILTIN\Administrators |
HVCluster | Allow | Full | TechGenix\Dan1 |
HVCluster | Allow | ReadOnly | TechGenix\Admin1 |
About Nirmal Sharma
Nirmal Sharma is a MCSEx3, MCITP and Microsoft MVP in Directory Services. He specializes in directory services, Microsoft Azure, Failover clusters, Hyper-V, and System Center products and has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to Health Packs for ADHealthProf.ITDynamicPacks.Net solutions. Nirmal can be reached at [email protected].