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

Remove-RDMDataSourceCustomVariable

Synopsis

Delete custom variables in the current workspace settings.

Syntax

InputObject

Remove-RDMDataSourceCustomVariable [-InputObject] <DataSourceVariable[]> [-PassThru]
 [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

Name

Remove-RDMDataSourceCustomVariable [-Name] <string[]> [-PassThru]
 [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

Description

Delete custom variables in the current workspace settings. The path to access those variables in Remote Desktop Manager is Administration -> System Settings -> Common -> Custom Variables. The user must have the rights to access the workspace settings. Only advanced workspace have settings.

Examples

PS C:\> $cv = Get-RDMDataSourceCustomVariable -Name *TEMP* | Remove-RDMDataSourceCustomVariable

Delete all custom variables containing 'TEMP' in their name

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-InputObject

Custom variables to delete.

-Name

Name of the custom variables to delete.

-PassThru

Return all custom variables that have been deleted.

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

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

Notes

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

Last updated

Was this helpful?