< Back

Update-vRNIDataSourceData

Sat Jan 18, 2020 10:14 pm

NAME Update-vRNIDataSourceData



SYNOPSIS

Updates the user-assisted-networking-information data (zip file) of a generic switch or router datasource





SYNTAX

Update-vRNIDataSourceData [-DataSource] <PSObject> -Zipfile <String> [-Connection <PSObject>] [<CommonParameters>]





DESCRIPTION

Generic switch or router devices backed by UANI, take a zipfile with with a set of CSV files containing the

information of the device.

This cmdlet updates the data source inside vRNI and uploads the zipfile to do so.



More info: https://github.com/vmware/network-insig ... atasources





PARAMETERS

-DataSource <PSObject>

Datasource object, gotten from Get-vRNIDataSource



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Zipfile <String>

The zipfile with the contents for UANI



Required? true

Position? named

Default value

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 | Where {$_.nickname -eq "generic-switch"} | Update-vRNIDataSourceData -Zipfile

'c:\\uani-zipfile-17-11-2019.zip'



Updates the generic data source information with the info from the zipfile











RELATED LINKS