< Back

Get-AemUser

Sat Jul 18, 2020 3:58 pm

NAME
Get-AemUser

SYNOPSIS


SYNTAX
Get-AemUser [-AccessToken] <String> [[-ApiUrl] <String>] [[-EventLogSource] <String>] [[-LogPath] <String>] [<CommonParameters>]


DESCRIPTION
Retrieves all users from AutoTask Endpoint Management.


PARAMETERS
-AccessToken <String>
Mandatory parameter. Represents the token returned once successful authentication to the API is achieved. Use New-AemApiAccessToken to obtain the token.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false

-ApiUrl <String>
Default value is 'https://zinfandel-api.centrastage.net'. Represents the URL to AutoTask's AEM API, for the desired instance.

Required? false
Position? 2
Default value https://zinfandel-api.centrastage.net
Accept pipeline input? false
Accept wildcard characters? false

-EventLogSource <String>
When included, (and when LogPath is null), represents the event log source for the Application log. If no event log source or path are provided, output is sent only to the host.

Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false

-LogPath <String>
When included (when EventLogSource is null), represents the file, to which the cmdlet will output will be logged. If no path or event log source are provided, output is sent only to the host.

Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES


Author: Mike Hashemi
V1.0.0.0 date: 22 August 2018
- Initial release.
V1.0.0.1 date: 5 December 2019
V1.0.0.2 date: 11 December 2019

-------------------------- EXAMPLE 1 --------------------------

.\Get-AemUsers -AccessToken <bearer token>-Verbose

This example returns an array of all AEM users and their properties. Verbose output is sent to the host.





RELATED LINKS
https://github.com/wetling23/Public.AEM ... hellModule