Update-MgDeviceManagementApplePushNotificationCertificate
Update the properties of a applePushNotificationCertificate object.
Note
To view the beta release of this cmdlet, view Update-MgBetaDeviceManagementApplePushNotificationCertificate
Syntax
Update-MgDeviceManagementApplePushNotificationCertificate
[-ResponseHeadersVariable <String>]
[-AdditionalProperties <Hashtable>]
[-AppleIdentifier <String>]
[-Certificate <String>]
[-CertificateUploadFailureReason <String>]
[-CertificateUploadStatus <String>]
[-ExpirationDateTime <DateTime>]
[-Id <String>]
[-LastModifiedDateTime <DateTime>]
[-TopicIdentifier <String>]
[-Headers <IDictionary>]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-MgDeviceManagementApplePushNotificationCertificate
-BodyParameter <IMicrosoftGraphApplePushNotificationCertificate>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Update the properties of a applePushNotificationCertificate object.
Examples
Example 1: Code snippet
Import-Module Microsoft.Graph.DeviceManagement.Administration
$params = @{
"@odata.type" = "#microsoft.graph.applePushNotificationCertificate"
appleIdentifier = "Apple Identifier value"
topicIdentifier = "Topic Identifier value"
expirationDateTime = [System.DateTime]::Parse("2016-12-31T23:57:57.2481234-08:00")
certificateUploadStatus = "Certificate Upload Status value"
certificateUploadFailureReason = "Certificate Upload Failure Reason value"
certificateSerialNumber = "Certificate Serial Number value"
certificate = "Certificate value"
}
Update-MgDeviceManagementApplePushNotificationCertificate -BodyParameter $params
This example shows how to use the Update-MgDeviceManagementApplePushNotificationCertificate Cmdlet.
Parameters
-AdditionalProperties
Additional Parameters
Type: | Hashtable |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AppleIdentifier
Apple Id of the account used to create the MDM push certificate.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BodyParameter
Apple push notification certificate. To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
Type: | IMicrosoftGraphApplePushNotificationCertificate |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Certificate
Not yet documented
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CertificateUploadFailureReason
The reason the certificate upload failed.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CertificateUploadStatus
The certificate upload status.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExpirationDateTime
The expiration date and time for Apple push notification certificate.
Type: | DateTime |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Headers
Optional headers that will be added to the request.
Type: | IDictionary |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Id
The unique identifier for an entity. Read-only.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LastModifiedDateTime
Last modified date and time for Apple push notification certificate.
Type: | DateTime |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ProgressAction
{{ Fill ProgressAction Description }}
Type: | ActionPreference |
Aliases: | proga |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResponseHeadersVariable
Optional Response Headers Variable.
Type: | String |
Aliases: | RHV |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TopicIdentifier
Topic Id.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphApplePushNotificationCertificate
System.Collections.IDictionary
Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphApplePushNotificationCertificate
Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
BODYPARAMETER <IMicrosoftGraphApplePushNotificationCertificate>
: Apple push notification certificate.
[(Any) <Object>]
: This indicates any property can be added to this object.[Id <String>]
: The unique identifier for an entity. Read-only.[AppleIdentifier <String>]
: Apple Id of the account used to create the MDM push certificate.[Certificate <String>]
: Not yet documented[CertificateUploadFailureReason <String>]
: The reason the certificate upload failed.[CertificateUploadStatus <String>]
: The certificate upload status.[ExpirationDateTime <DateTime?>]
: The expiration date and time for Apple push notification certificate.[LastModifiedDateTime <DateTime?>]
: Last modified date and time for Apple push notification certificate.[TopicIdentifier <String>]
: Topic Id.