Skip to content

Instantly share code, notes, and snippets.

@skeletozaure
Created June 2, 2021 08:00
Show Gist options
  • Save skeletozaure/dbca4af7bf96d4461b0829dbab1bf0db to your computer and use it in GitHub Desktop.
Save skeletozaure/dbca4af7bf96d4461b0829dbab1bf0db to your computer and use it in GitHub Desktop.
[Powershell] get cluster active node
(get-clustergroup | Where-Object name -eq 'Cluster Group').ownerNode.name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment