Test-MtAppleAutomatedDeviceEnrollmentToken
SYNOPSIS
Check the validity of the Apple Automated Device Enrollment (ADE) token for Intune.
SYNTAX
Test-MtAppleAutomatedDeviceEnrollmentToken [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
The Apple Automated Device Enrollment (ADE) token is required to synchronize Apple devices with Microsoft Intune. This command checks if the ADE token is valid and not expired.
EXAMPLES
EXAMPLE 1
Test-MtAppleAutomatedDeviceEnrollmentToken
Returns true if the ADE token is valid for more than 30 days, false if it is expired or expiring soon.
PARAMETERS
-ProgressAction
Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by Write-Progress.
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
System.Boolean
NOTES
RELATED LINKS
https://maester.dev/docs/commands/Test-MtAppleAutomatedDeviceEnrollmentToken