Get-DSDeletedUser
Synopsis
Get deleted users.
Syntax
__AllParameterSets
Get-DSDeletedUser [-PageNumber <int>] [-PageSize <int>] [<CommonParameters>]Description
Retrieve users that have been marked as deleted but not permanently removed. By default, retrieves the first 10 000 results.
Examples
Example 1
PS C:\> Get-DSDeletedUserGet all deleted users.
Example 2
PS C:\> Get-DSDeletedUser -PageNumber 2 -PageSize 50Get the second page with 50 users per page.
Example 3
Restore all deleted users.
Example 4
Get a deleted user by username and permanently delete it.
Parameters
-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
Devolutions.RemoteDesktopManager.Business.Models.UserListItem
Notes
For more information, type "Get-Help Get-DSDeletedUser -detailed". For technical information, type "Get-Help Get-DSDeletedUser -full".
Last updated
Was this helpful?