Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Cluster information for multiple servers

$
0
0

I am trying to find out which clusters are available on a 10 servers by using 

import-module failoverclusters
$Server = get-content Server.txt
Get-cluster -computername $server


But i am getting the following error:-

Get-Cluster : A parameter cannot be found that matches parameter name 'computername'.
At line:1 char:26
+ get-Cluster -computername <<<<  $Server
    + CategoryInfo          : InvalidArgument: (:) [Get-Cluster], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.FailoverClusters.PowerShell.GetClusterCommand


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>