< Back

Disable-vRNIDataSource

Sat Jan 18, 2020 10:08 pm

NAME Disable-vRNIDataSource



SYNOPSIS

Disables an existing datasources within vRealize Network Insight





SYNTAX

Disable-vRNIDataSource [-DataSource] <PSObject> [-Connection <PSObject>] [<CommonParameters>]





DESCRIPTION

Datasources within vRealize Network Insight provide the data shown in

the UI. The vRNI Collectors periodically polls the datasources as the

source of truth. Typically you have a vCenter, NSX Manager and physical

switches as the datasource.



This cmdlet disables an existing datasources within vRNI.





PARAMETERS

-DataSource <PSObject>

Datasource object, gotten from Get-vRNIDataSource



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

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 | Where {$_.nickname -eq "vc.nsx.local"} | Disable-vRNIDataSource



Disables a vCenter datasource with the nickname "vc.nsx.local"









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



PS C:\\>Get-vRNIDataSource | Where {$_.nickname -eq "manager.nsx.local"} | Disable-vRNIDataSource



Disables a NSX Manager datasource with the nickname "manager.nsx.local"











RELATED LINKS