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

Add-RDMFavoriteEntry

Synopsis

Add entries to the favorites

Syntax

__AllParameterSets

Add-RDMFavoriteEntry -InputObject <PSConnection[]> [-FolderName <string>] [-PassThru]
 [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]

Description

Add entries to the favorites. Entries from the System Vault, as well as subentries, are prohibited from being added to the favorites.

Examples

PS C:\> Get-RDMEntry -Name 'Entry A' | Add-RDMFavoriteEntry -FolderName 'FolderA\SubFolderA'

Add the entry named 'Entry A' to the favorite folder named 'FolderA\SubFolderA'.

Parameters

-FolderName

Favorite folder where the entries will be added. If not specified, it will be at the root.

-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

Entries to add to the favorites

-PassThru

Return the PSConnection objects

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

Entries to be added to the favorites

Notes

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

Last updated

Was this helpful?