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

Set-RDMEntryStatus

Synopsis

Set the status on the specified entry.

Syntax

Id

Set-RDMEntryStatus [-ID] <guid[]> [-Status] <string> [[-Message] <string>] [-PassThru] [-Refresh]
 [-Set] [-VaultMode <VaultMode>] [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

InputObject

Set-RDMEntryStatus [-InputObject] <PSConnection[]> [-Status] <string> [[-Message] <string>]
 [-PassThru] [-Refresh] [-Set] [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

Description

Set the status on the specified entry. To persist the new status, the switch Set must be used. To modify the status, the user must have the appropriate rights: add for a new entry, and edit for an existing one.

Examples

PS C:\> $entry = Get-RDMEntry -Name 'EntryA';
    Set-RDMEntrystatus -InputObject $entry -Status 'Expired' -Set

Update the specified entry's status to 'Expired'

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.

-ID

ID of the entries to modify. Use the VaultMode parameter to search in the User vault or the Global vault.

-InputObject

Specifies the entries to set the status to

-Message

Status message

-PassThru

Return the modified entry.

-Refresh

Send refresh notification to Remote Desktop Manager application. Use Set switch to persist the modification.

-Set

Save the entry in the current workspace.

-Status

Status type

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

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

Inputs

RemoteDesktopManager.PowerShellModule.PSOutputObject.PSConnection

PSConnection object of the entry to modify the status from.

Notes

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

Last updated

Was this helpful?