Online Help > PowerShell Scripting

Get-RDMDataSource

SYNOPSIS

Retrieve the list of available data sources.

 

SYNTAX

Get-RDMDataSource -Name [Name] <String> [<CommonParameters>]

 

DESCRIPTION

Retrieve the list of available data sources.

 

PARAMETERS

  -Name <String>

Data source name

 

  <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 Get-RDMDataSource -detailed". For technical information, type "Get-Help Get-RDMDataSource -full".

 

EXAMPLE 1

PS C:\> $list = Get-RDMDataSource

 

Retrieves the list of available data sources.

 

EXAMPLE 2

PS C:\> $list = Get-RDMDataSource; $list[0]

 

Retrieves the list of available data sources and displays the first item.

 

EXAMPLE 3

PS C:\> $list = Get-RDMDataSource; Set-RDMDataSource $list[1].ID

 

Retrieves the list of available data sources and sets the current data source the the second element in the list.

 

RELATED LINKS

Set-RDMDataSource