Remove-RDMDeletedUser
Synopsis
Permanently delete a soft-deleted user.
Syntax
Id
Remove-RDMDeletedUser [-ID] <guid> [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm]
[<CommonParameters>]InputObject
Remove-RDMDeletedUser -InputObject <PSUserInfo> [-ForcePromptAnswer <DialogResult[]>] [-WhatIf]
[-Confirm] [<CommonParameters>]Description
Permanently delete a soft-deleted user from the workspace. This action is irreversible. The cmdlet works with workspaces that support deleted user management (currently only Devolutions Server).
Examples
Example 1
PS C:\> Remove-RDMDeletedUser -ID "3c5d7e8f-9a1b-4c2d-8e3f-4a5b6c7d8e9f"Permanently delete the user with the specified ID.
Example 2
Permanently delete all deleted users whose name starts with 'test' via pipeline.
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
User ID to permanently delete.
-InputObject
Deleted users fetched from Get-RDMDeletedUser.
-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.PSUserInfo
Deleted users from Get-RDMDeletedUser.
Notes
For more information, type "Get-Help Remove-RDMDeletedUser -detailed". For technical information, type "Get-Help Remove-RDMDeletedUser -full".
Last updated
Was this helpful?