Copy-RDMDataSource
Synopsis
Copy an existing workspace
Syntax
Id
Copy-RDMDataSource [-ID] <guid> [<CommonParameters>]InputObject
Copy-RDMDataSource [-InputObject] <PSDataSource> [<CommonParameters>]Description
Copy an existing workspace. The user can be prompted if the workspace requires MFA. On a Windows OS, a policy can disable this cmdlet. In case of an SQL server with a custom login, it is possible to connect using different credentials.
Examples
PS C:\> Get-RDMDataSource -Name 'CustomSQL' | Copy-RDMDataSource | Set-RDMCurrentDataSourceConnect to a copy of the workspace 'CustomSQL'. If the user is prompted for the credentials, different credentials can be entered.
Parameters
-ID
ID of the workspace to copy
-InputObject
PSDataSource obtained from Get-RDMDataSource to copy
CommonParameters
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.
Inputs
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSDataSource
Workspace object to copy obtained from Get-RDMDataSource.
Notes
For more information, type "Get-Help Copy-RDMDataSource -detailed". For technical information, type "Get-Help Copy-RDMDataSource -full".
Last updated
Was this helpful?