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

Get-DSUser

Synopsis

Get one or more users

Syntax

GetPage (Default)

Get-DSUser [-PageNumber <int>] [-PageSize <int>] [-AsLegacyResponse] [<CommonParameters>]

GetAll

Get-DSUser -All [-AsLegacyResponse] [<CommonParameters>]

GetByID

Get-DSUser -UserID <guid> [-AsLegacyResponse] [<CommonParameters>]

Description

Get a single user, a page of users, or all users.

Examples

Example 1

PS C:\> Get-DSUser -All

Get all the users

Example 2

Get a specific user

Example 3

Get the first page containing 10 users

Parameters

-All

All users will be fetched.

-AsLegacyResponse

In versions prior to 2024.2, many DS cmdlets returned a ServerResponse object. Enabling this backward compatibility switch allows scripts developed for earlier versions to function correctly.

-PageNumber

Specify the page of users fetched. First page is fetched by default.

-PageSize

Number of users per page. 10 users per page by default.

-UserID

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.

Notes

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

Last updated

Was this helpful?