For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get-RDMVaultCustomVariable

Synopsis

Get the custom variables stored in a vault.

Syntax

__AllParameterSets

Get-RDMVaultCustomVariable [[-Name] <string>] [-VaultMode <VaultMode>]
 [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]

Description

Get the custom variables stored in a vault. The user must have the rights to edit the vault settings. This command is not available on the system vault.

Examples

Example 1

PS C:\> $vars = Get-RDMVaultCustomVariable -Name '$TEMP*$'
PS C:\> Remove-RDMVaultCustomVariable -Variable $vars

Delete all custom variables whose name starts with $TEMP and save the change.

Parameters

-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.

-Name

Filter the custom variables by their name. Supports wildcard characters.

-VaultMode

Vault where the command will be applied. Three choices are offered: - Default: Current vault that has been set. - User: Vault specific to the current user. - Global: Global vault of the workspace.

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.

Outputs

RemoteDesktopManager.PowerShellModule.PSOutputObject.PSVaultVariable

Notes

For more information, type "Get-Help Get-RDMVaultCustomVariable -detailed". For technical information, type "Get-Help Get-RDMVaultCustomVariable -full".

Last updated

Was this helpful?