Forum Discussion
Get-ClusterExcludedAdapter cmdlet
Following link https://learn.microsoft.com/en-us/powershell/module/failoverclusters/get-clusterexcludedadapter?view=windowsserver2025-ps
when execute Get-ClusterExcludedAdapter cmdlet with error below
Get-ClusterExcludedAdapter : The term 'Get-ClusterExcludedAdapter' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ Get-ClusterExcludedAdapter
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-ClusterExcludedAdapter:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
same for cmdlet Add-ClusterExcludedAdapter (https://learn.microsoft.com/en-us/powershell/module/failoverclusters/add-clusterexcludedadapter?view=windowsserver2025-ps)
Does anyone know why these commands are not available?
1 Reply
- VGSandzCopper Contributor
Hello yfk72
This is supported only on windows server 2025 provided the following module is installed along with your Windows Cluster role.
#Check if module is installed. Get-WindowsFeature -Name "RSAT-Clustering-PowerShell" #Command to install. Get-WindowsFeature -Name "RSAT-Clustering-PowerShell" | Install-WindowsFeatureSource : https://learn.microsoft.com/en-us/powershell/module/failoverclusters/?view=windowsserver2025-ps