Add or default vaults in the User Template of the System Settings for a specific workspace. New users created in that workspace will gain or lose access to those vaults.
Edit-RDMUserTemplate [-DataSource] <Object> [-AddRepository] <Object[]> [-CaseSensitive]
[-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
Edit-RDMUserTemplate [-DataSource] <Object> [-RemoveRepository] <Object[]> [-CaseSensitive]
[-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
Add or default vaults in the User Template of the System Settings for a specific workspace. New users created in that workspace will gain or lose access to those vaults.
PS C:\> Edit-RDMUserTemplate -DataSource ADataSource -AddRepository ACommonVault;
Add ACommonVault in the User Template in the System Settings of the workspace "ADataSource".
PS C:\> Edit-RDMUserTemplate -DataSource ADataSource -RemoveRepository *;
Remove all the repositories in the User Template in the System Settings of the workspace ADataSource.
PS C:\> Get-RDMDataSource -Name "ADataSource" | Edit-RDMUserTemplate -RemoveRepository CommonVault[ab] -CaseSensitive;
Remove the repositories CommonVaulta and CommonVaultb in the User Template in the System Settings of the workspace "ADataSource". The case sensitive switch is not impacting the term [ab], meaning a repository CommonVaultA would not be affected.
PS C:\> Edit-RDMUserTemplate -DataSource ADataSource -Repository UserVault? -CaseSensitive;
Add all repositories UserVault? such as UserVaultA and UserVault1 in the User Template in the System Settings of the workspace "ADataSource". The search for the workspace and the repositories wll be case sensitive.
Add the default vaults in the User Template of the System Settings. Allows to find repositories by ID (Guid), by name (supports wildcards), and repositories (PSRepositoryInfo).
Type: System.Object[]
DefaultValue: ''
SupportsWildcards: true
Aliases:
- AddVault
ParameterSets:
- Name: AddRepository
Position: 1
IsRequired: true
ValueFromPipeline: true
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
Case sensitive when searching the workspace or the repositories by name
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases:
- cf
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
Workspace whose settings will be modified. Allows to find the workspace by ID (Guid), by name (supports wildcard), and workspace (PSDataSource).
Type: System.Object
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: true
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
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.
Type: System.Windows.Forms.DialogResult[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
Remove the default vaults in the User Template of the System Settings. Allows to find repositories by ID (Guid), by name (supports wildcards), and repositories (PSRepositoryInfo). Removing all default vaults is possible.
Type: System.Object[]
DefaultValue: ''
SupportsWildcards: true
Aliases:
- RemoveVault
ParameterSets:
- Name: RemoveRepository
Position: 1
IsRequired: true
ValueFromPipeline: true
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases:
- wi
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
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.
The workspace whose system settings will be modified. Allows to find the workspace by ID (Guid), by name (supports wildcard), and workspace (PSDataSource).
The name of the workspace and the repositories will be a case sensitive search is this switch is present.
For more information, type "Get-Help Edit-RDMUserTemplate -detailed". For technical information, type "Get-Help Edit-RDMUserTemplate -full".