Copy an existing data source
Copy-RDMDataSource [-ID] <guid> [<CommonParameters>]
Copy-RDMDataSource [-InputObject] <PSDataSource> [<CommonParameters>]
Copy an existing data source. The user can be prompted if the data source requires an MFA. On a Windows OS, a policy can disable this cmdlet. In case of a SQL server with a custom login, it is possible to connect using different credentials.
PS C:\> Get-RDMDataSource -Name 'CustomSQL' | Copy-RDMDataSource | Set-RDMCurrentDataSource
Connect to a copy of the data source 'CustomSQL'. If the user is prompted for the credentials, different credentials can be entered.
ID of the data source to copy
Type: System.Guid
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Id
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
PSDataSource obtained from Get-RDMDataSource to copy
Type: RemoteDesktopManager.PowerShellModule.PSOutputObject.PSDataSource
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: InputObject
Position: 0
IsRequired: true
ValueFromPipeline: true
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Data source object to copy obtained from Get-RDMDataSource.
For more information, type "Get-Help Copy-RDMDataSource -detailed". For technical information, type "Get-Help Copy-RDMDataSource -full".