Set-RDMEntryDomain
Synopsis
Set the domain from the specified entry.
Syntax
Id
Set-RDMEntryDomain [-ID] <guid> [-Domain] <string> [-PassThru] [-Refresh] [-Set]
[-VaultMode <VaultMode>] [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm]
[<CommonParameters>]InputObject
Set-RDMEntryDomain [-InputObject] <PSConnection> [-Domain] <string> [-PassThru] [-Refresh] [-Set]
[-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]Description
Set the domain of the specified entry. To modify the domain, the user must have the appropriate rights: add for a new entry, and edit for an existing one.
Examples
Example 1
Set the domain to 'newDomain' for the entry named EntryA.
Example 2
For all entries whose domain is 'mydomain', update it to 'newDomain' and save the change. After all the modifications, refresh the entries list.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
-Domain
New domain name.
-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 entry to modify. Use the VaultMode parameter to search in the User vault or the Global vault.
-InputObject
Specifies the entry to set the domain to.
-PassThru
Return the modified entry.
-Refresh
Send refresh notification to Remote Desktop Manager application. Use Set switch to persist the modification.
-Set
Save the modified entry.
-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 domain from.
Notes
For more information, type "Get-Help Set-RDMEntryDomain -detailed". For technical information, type "Get-Help Set-RDMEntryDomain -full".
Last updated
Was this helpful?