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

Get-RDMEntryTags

Synopsis

Retrieve the tags from an entry

Syntax

ID

Get-RDMEntryTags [-ID] <guid> [-ResolveInherited] [-VaultMode <VaultMode>]
 [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]

InputObject

Get-RDMEntryTags [-InputObject] <PSConnection> [-ResolveInherited] [-VaultMode <VaultMode>]
 [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]

Description

Retrieves tags from the specified entry as an array. By default, returns only tags directly assigned to the entry. Use the -ResolveInherited switch to include tags inherited from parent folders. Tag inheritance must be enabled in system or vault settings. Tag inheritance can be enabled on the vault level by modifying the root connection object.

Examples

Example 1

PS C:\> Get-RDMEntryTags -ID "{00000000-0000-0000-0000-000000000000}"

Get tags from the entry with the specified ID.

Example 2

Pipeline usage to get tags from an entry by name.

Example 3

Get tags from the entry including tags inherited from parent folders.

Example 4

Enable tag inheritance in the root connection settings, then retrieve tags including inherited ones.

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.

-ID

Specifies the ID of the entry to retrieve tags from.

-InputObject

Specifies the entry to retrieve tags from.

-ResolveInherited

Include tags inherited from parent folders/groups in the output. Tag inheritance must be enabled in system settings or root connection settings.

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

Inputs

RemoteDesktopManager.PowerShellModule.PSOutputObject.PSConnection

Specifies the entry to retrieve tags from.

Outputs

System.String

Tags of entry

Notes

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

Last updated

Was this helpful?