< Back

Invoke-NsxClusterResolveAll

Sat Jan 18, 2020 9:14 pm

NAME Invoke-NsxClusterResolveAll



SYNOPSIS

Invokes the 'Resolve All' task for a cluster





SYNTAX

Invoke-NsxClusterResolveAll [-Cluster] <ClusterInterop> [[-Connection] <PSObject>] [<CommonParameters>]





DESCRIPTION

If the cluster status is in a state where a 'resolve' action is available,

the Invoke-NsxClusterResolveAll cmdlet can be executed against the cluster

to trigger the Resolve All task.



This command does NOT block on a resolve as no job data is returned from the

NSX api for us to check on.



Use Get-NsxClusterStatus to check the status of a given cluster. If the

cluster status is such that a 'Resolve' operation is not available, this is

a no-op (no error is thrown.)





PARAMETERS

-Cluster <ClusterInterop>

Cluster to trigger resolve on.



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:\\>Get-Cluster Cluster01 | Invoke-NsxClusterResolveAll



Triggers a 'Resolve All' For the cluster Cluster01.











RELATED LINKS