< Back

Update-vRNINSXvControllerClusterPassword

Sat Jan 18, 2020 10:14 pm

NAME Update-vRNINSXvControllerClusterPassword



SYNOPSIS

Updates the NSX-v Controller Cluster password and enabled data collection. Needed for routing information on NSX-v.





SYNTAX

Update-vRNINSXvControllerClusterPassword [-DataSource] <PSObject> -Password <String> [-Enabled <Boolean>]

[-Connection <PSObject>] [<CommonParameters>]





DESCRIPTION

The NSX for vSphere Controller Cluster contains the routing information of the virtual network. These controllers

have separate passwords, and vRNI needs that password in order to collect data.





PARAMETERS

-DataSource <PSObject>

Datasource object, gotten from Get-vRNIDataSource



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Password <String>

Controller Cluster Password



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Enabled <Boolean>

Enable data collection from



Required? false

Position? named

Default value True

Accept pipeline input? false

Accept wildcard characters? false



-Connection <PSObject>

vRNI Connection object



Required? false

Position? named

Default value $defaultvRNIConnection

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-vRNIDataSource -DatasourceType nsxv | Update-vRNINSXvControllerClusterPassword -Password 'secret'



Gets all NSX-v data sources and sets the controller cluster password for each of them.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-vRNIDataSource -DatasourceType nsxv | Update-vRNINSXvControllerClusterPassword -Password 'secret'

-Enabled $False



Gets all NSX-v data sources and disables controller cluster data collection.











RELATED LINKS