Warum kann ich nicht anwenden, ToUpper (), um eine OwnerNode?

Dies funktioniert:

Output "Cluster Group: ""$($Group.Name)"", Current Owner: $($Group.OwnerNode), Current State: $($Group.State)"

Funktioniert nicht:

Output "Cluster Group: ""$($Group.Name)"", Current Owner: $($Group.OwnerNode.ToUpper()), Current State: $($Group.State)"

Mit einem Fehler dieser:

Method invocation failed because [Microsoft.FailoverClusters.PowerShell.ClusterNode] doesn't contain a method named 'ToUpper'.

Irgendwelche Ideen auf, wie man diese string aus der Ausgabe von Get-ClusterGroup string to upper case?

InformationsquelleAutor tkrn | 2013-06-06
Schreibe einen Kommentar