< Back
Get-AemDevicesFromSite
Post
NAME
Get-AemDevicesFromSite
SYNOPSIS
SYNTAX
Get-AemDevicesFromSite [-AccessToken] <String> [-SiteUid] <String> [[-ApiUrl] <String>] [[-EventLogSource] <String>] [[-LogPath] <String>] [<CommonParameters>]
DESCRIPTION
Retrieves all devices from a user-specified site.
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? false
Accept wildcard characters? false
-SiteUid <String>
Represents the UID number (e.g. 9fd7io7a-fe95-44k0-9cd1-fcc0vcbc7900) of the desired site.
Required? true
Position? 2
Default value
Accept pipeline input? false
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? 3
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? 4
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? 5
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: 17 June 2018
- Initial release.
V1.0.0.1 date: 5 December 2019
V1.0.0.2 date: 11 December 2019
-------------------------- EXAMPLE 1 --------------------------
PS C:\>Get-AemDevicesFromSite -AccessToken $token -SiteUid $uid -Verbose
This will get the devices for the specified site. Verbose output is sent to the host.
RELATED LINKS
https://github.com/wetling23/Public.AEM ... hellModule
Get-AemDevicesFromSite
SYNOPSIS
SYNTAX
Get-AemDevicesFromSite [-AccessToken] <String> [-SiteUid] <String> [[-ApiUrl] <String>] [[-EventLogSource] <String>] [[-LogPath] <String>] [<CommonParameters>]
DESCRIPTION
Retrieves all devices from a user-specified site.
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? false
Accept wildcard characters? false
-SiteUid <String>
Represents the UID number (e.g. 9fd7io7a-fe95-44k0-9cd1-fcc0vcbc7900) of the desired site.
Required? true
Position? 2
Default value
Accept pipeline input? false
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? 3
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? 4
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? 5
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: 17 June 2018
- Initial release.
V1.0.0.1 date: 5 December 2019
V1.0.0.2 date: 11 December 2019
-------------------------- EXAMPLE 1 --------------------------
PS C:\>Get-AemDevicesFromSite -AccessToken $token -SiteUid $uid -Verbose
This will get the devices for the specified site. Verbose output is sent to the host.
RELATED LINKS
https://github.com/wetling23/Public.AEM ... hellModule