Get list of users.

External Documentation

To learn more, visit the Active Directory On-Prem documentation.

Parameters

ParameterDescription
QueryA query to filter the users by. For more information about the PowerShell filtering see Microsoft Documentation.

Advanced Parameters

ParameterDescription
PropertiesA comma-separated list of additional properties to return. To return all available properties use *.
Additional FlagsAdditional flags to append to the PowerShell command.
Disable JSON ConversionDisable the automatic conversion of the data into JSON format; the raw data is in PowerShell table format.
Remove Unreadable ASCII charactersSelect to remove any unreadable ASCII characters to be able to get a result of valid JSON.
Note: ASCII characters that will be removed are:
- All control characters in the ASCII range 0x00–0x1F, except for the following safe ones:
* \b (0x08) – Backspace
* \t (0x09) – Horizontal Tab
* \n (0x0A) – Line Feed (New Line)
* \f (0x0C) – Form Feed
* \r (0x0D) – Carriage Return
- The delete character DEL (0x7F)
All other printable ASCII and Unicode characters will be preserved.