Set-RDMDefaultDataSource
Synopsis
Set the workspace loaded when the application starts
Syntax
Name (Default)
Set-RDMDefaultDataSource [[-Name] <string>] [[-OnStartUpOption] <string>] [-CaseSensitive]
[-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]Id
Set-RDMDefaultDataSource [-ID] <guid> [[-OnStartUpOption] <string>]
[-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]Description
Set the workspace loaded when the application starts. It is possible to modify the 'On start up' option to choose how the loaded workspace is chosen. The choices are: LastUsed, Prompt, and UseDefault. Modifying this option will not alter the current default or last used workspace. To change the workspace loaded on the next application start, the parameter ID or Name must be used. This will modify the last used or default workspace to load.
Examples
Example 1
PS C:\> Set-RDMDefaultDataSource -Name MyDefaultDS -OnStartUpOption UseDefaultSet the workspace 'MyDefaultDS' as the default one that will be loaded on every application starts.
Example 2
Set the workspace 'MyDefaultDs' as the default or last used workspace. The search for the workspace is case sensitive.
Parameters
-CaseSensitive
Case sensitive search of the workspace.
-ForcePromptAnswer
Switch to use with caution. It will automatically answer prompt asking yes/no, yes/no/cancel, or ok/cancel questions. In case of multiple prompts, multiple values can be passed to this parameter. Here are the accepted values:
Yes: Accept the prompt. Cover the OK and Automatic value.
No: Refuse the yes/no/cancel prompt. "Cancel" is the fallback option if there is no "No" option.
Cancel: Cancel the yes/no/cancel prompt. "No" is the fallback option if there is no "Cancel" option.
-ID
ID of the workspace to set as default or last used
-Name
Name of the workspace to set as default or last used
-OnStartUpOption
Option to determine which workspace to open when the applications starts
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.
Notes
For more information, type "Get-Help Set-RDMDefaultDataSource -detailed". For technical information, type "Get-Help Set-RDMDefaultDataSource -full".
Last updated
Was this helpful?