Regardless of whether they are active nodes or passive nodes, how do we get a list of all Windows AD computer accounts in a cluster group?
Using the PowerShell module: https://learn.microsoft.com/en-us/powershell/module/failoverclusters/?view=windowsserver2022-ps this can only show the Active cluster node.
Using the below Command:
Get-ADComputer -Filter { (ServicePrincipalNames -like '*Cluster*') } -Properties 'OperatingSystem', 'ServicePrincipalNames'
Can only show the Cluster Group Name
Any comments and suggestions are greatly appreciated and thank you in advance.