< Back

Set-AADIntEASSettings

Fri Jan 10, 2020 6:02 pm

NAME Set-AADIntEASSettings



SYNOPSIS

Sets users device settings using ActiveSync





SYNTAX

Set-AADIntEASSettings -Credentials <PSCredential> -DeviceId <String> [-DeviceType <String>] [-Model <String>]

[-IMEI <String>] [-FriendlyName <String>] [-OS <String>] [-OSLanguage <String>] [-PhoneNumber <String>]

[-MobileOperator <String>] [-UserAgent <String>] [<CommonParameters>]



Set-AADIntEASSettings -AccessToken <String> -DeviceId <String> [-DeviceType <String>] [-Model <String>] [-IMEI

<String>] [-FriendlyName <String>] [-OS <String>] [-OSLanguage <String>] [-PhoneNumber <String>] [-MobileOperator

<String>] [-UserAgent <String>] [<CommonParameters>]





DESCRIPTION

Sets users device settings using ActiveSync. You can change device's Model, IMEI, FriendlyName, OS, OSLanguage,

PhoneNumber, MobileOperator, and User-Agent.

All empty properties are cleared from the device settings. I.e., if IMEI is not given, it will be cleared.





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



-DeviceId <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DeviceType <String>



Required? false

Position? named

Default value Android

Accept pipeline input? false

Accept wildcard characters? false



-Model <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-IMEI <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-FriendlyName <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-OS <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-OSLanguage <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PhoneNumber <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-MobileOperator <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-UserAgent <String>



Required? false

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:\\>$Cred=Get-Credential



PS C:\\>Set-AADIntEASSettings -Credentials $Cred -DeviceId androidc481040056 -DeviceType Android -Model "Samsung

S10" -PhoneNumber "+1234567890"











RELATED LINKS