Online Help > PowerShell Scripting

Set-RDMDatasourceProperty

SYNOPSIS

Save/set the datasource.

 

SYNTAX

Set-RDMDatasourceProperty -DataSource [DataSource] <PSDataSource> -Property [Property] <String> -Value [Value] <Object> [<CommonParameters>]

 

DESCRIPTION

Save/set the datasource. Datasource must be first fetch via Data source property of the Get-RDMDataSource cmdlet or via the New-RDMDataSource result.

 

PARAMETERS

  -DataSource <PSDataSource>

(Required) Specifies the datasouce

 

  -Property <String>

(Required) Property to set.

 

  -Value <Object>

(Required) New value.

 

  <CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable,OutBuffer and OutVariable.For more information, type, "get-help about_commonparameters".

 

NOTES

For more information, type "Get-Help Set-RDMDatasourceProperty -detailed". For technical information, type "Get-Help Set-RDMDatasourceProperty -full".

 

EXAMPLE 1

PS C:\> $list = Get-RDMDataSource; Set-RDMDataSourceProperty -DataSource $list[0] -Property "Name" -Value "MyNewDataSourceName"; Set-RDMDataSource $list[0]

 

Change the name of the first data source

 

RELATED LINKS

Get-RDMDataSource