Set-CMIntuneSubscriptionAppleProperty

Updates a Microsoft Intune subscription to enable iOS and Mac OS X (MDM) enrollment.

Syntax

Set-CMIntuneSubscriptionAppleProperty
   [-ApnsCertificatePassword <SecureString>]
   [-ApnsCertificatePath <String>]
   [-CertificateExpiryAlertDays <Int32>]
   [-Confirm]
   [-DisableWildcardHandling]
   [-Enable <Boolean>]
   [-ForceWildcardHandling]
   [-PassThru]
   [-WhatIf]
   [<CommonParameters>]

Description

The Set-CMIntuneSubscriptionAppleProperty cmdlet updates the settings of a Microsoft Intune subscription to enable iOS and Mac OS X (MDM) enrollment.

Examples

Example 1: Enable iOS and Mac OS X (MDM) enrollment

PS C:\> Set-CMIntuneSubscriptionAppleProperty -Enable $True -ApnsCertificatePath "C:\Certs\test.pem" -ApnsCertificatePassword $null -CertificateExpiryAlertDays 30

This command enables iOS and Mac OS X (MDM) enrollment for the Microsoft Intune subscription.

Optional Parameters

-ApnsCertificatePassword

Specifies, as a secure string, the password for the APNs certificate.

Type:SecureString
Aliases:CertificatePassword
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ApnsCertificatePath

Specifies the path to the Apple Push Notification service (APNs) certificate.

Type:String
Aliases:Path, CertificatePath
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CertificateExpiryAlertDays

Specifies the number of days before the APNs certificate expires to show an alert.

Type:Int32
Aliases:ApnsCertificateExpiryAlertDays
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Enable

Indicates whether iOS and Mac OS X (MDM) enrollment is enabled.

Type:Boolean
Aliases:Enabled, EnableIosEnrollment, EnableMacEnrollment, EnableMdmEnrollment
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False