Get-RDMDeletedUser
Synopsis
Retrieve deleted users from the current workspace.
Syntax
Name (Default)
Get-RDMDeletedUser [[-Name] <string[]>] [-PageNumber <int>] [-PageSize <int>] [-CaseSensitive]
[-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]ID
Get-RDMDeletedUser [-ID] <guid> [-PageNumber <int>] [-PageSize <int>]
[-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]Literal
Get-RDMDeletedUser [-LiteralName] <string[]> [-PageNumber <int>] [-PageSize <int>] [-CaseSensitive]
[-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]Description
Retrieve soft-deleted users from the current workspace. This cmdlet returns users that have been deleted but not permanently removed. The cmdlet works with workspaces that support deleted user management (currently only Devolutions Server).
By default, retrieves the first 10 000 results; this might not include all deleted users.
Examples
Example 1
Retrieve all deleted users from the current workspace (up to 10 000 results).
Example 2
Retrieve the second page of deleted users with 50 users per page.
Example 3
Retrieve deleted users whose name starts with 'john' (case-insensitive by default).
Example 4
Retrieve the deleted user with the exact name 'johndoe' (no wildcards).
Example 5
Retrieve the deleted user with the specified ID.
Example 6
Retrieve deleted users whose name starts with 'test' using case-sensitive matching.
Parameters
-CaseSensitive
Use case-sensitive name matching.
-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 retrieve.
-LiteralName
Filter by exact user name (no wildcards).
-Name
Filter by user name (supports wildcards).
-PageNumber
Page number for paginated results. Default: 1
-PageSize
Number of results per page. Default: 10000
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.
Outputs
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSUserInfo
Notes
For more information, type "Get-Help Get-RDMDeletedUser -detailed". For technical information, type "Get-Help Get-RDMDeletedUser -full".
Last updated
Was this helpful?