< Back

Get-AADIntMobileDevices

Fri Jan 10, 2020 5:45 pm

NAME Get-AADIntMobileDevices



SYNOPSIS

Gets mobile devices for the current user or all devices (if admin)





SYNTAX

Get-AADIntMobileDevices -Credentials <PSCredential> [<CommonParameters>]



Get-AADIntMobileDevices -AccessToken <String> [<CommonParameters>]





DESCRIPTION

Retrieves a list of mobile devices using Remote Exchange Online PowerShell





PARAMETERS

-Credentials <PSCredential>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AccessToken <String>



Required? true

Position? named

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



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



PS C:\\>Get-AADIntMobileDevices -Credentials $Cred













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>$at = Get-AADIntAccessTokenForEXO



PS C:\\>Get-AADIntTenantDomains -AccessToken $at











RELATED LINKS