< Back
Get-NsxClusterStatus
Post
NAME Get-NsxClusterStatus
SYNOPSIS
Retrieves the resource status from NSX for the given cluster.
SYNTAX
Get-NsxClusterStatus [-Cluster] <ClusterInterop> [[-Connection] <PSObject>] [<CommonParameters>]
DESCRIPTION
All clusters visible to NSX manager (managed by the vCenter that NSX Manager
is synced with) can have the status of NSX related resources queried.
This cmdlet returns the resource status of all registered NSX resources for
the given cluster.
PARAMETERS
-Cluster <ClusterInterop>
Cluster Object to retrieve status details for.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 2
Default value $defaultNSXConnection
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>This example shows how to query the status for the cluster MyCluster
PS C:\\> get-cluster MyCluster | Get-NsxClusterStatus
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>This example shows how to query the status for all clusters
PS C:\\> get-cluster MyCluster | Get-NsxClusterStatus
RELATED LINKS
SYNOPSIS
Retrieves the resource status from NSX for the given cluster.
SYNTAX
Get-NsxClusterStatus [-Cluster] <ClusterInterop> [[-Connection] <PSObject>] [<CommonParameters>]
DESCRIPTION
All clusters visible to NSX manager (managed by the vCenter that NSX Manager
is synced with) can have the status of NSX related resources queried.
This cmdlet returns the resource status of all registered NSX resources for
the given cluster.
PARAMETERS
-Cluster <ClusterInterop>
Cluster Object to retrieve status details for.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 2
Default value $defaultNSXConnection
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>This example shows how to query the status for the cluster MyCluster
PS C:\\> get-cluster MyCluster | Get-NsxClusterStatus
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>This example shows how to query the status for all clusters
PS C:\\> get-cluster MyCluster | Get-NsxClusterStatus
RELATED LINKS