Kaffeeundcode
Script Library
PowerShell 01.06.2026

Script Workspace

Get ApplePushNotificationStatus

Review the purpose, inspect the code, then test it safely in your own tenant.

144_Get-ApplePushNotificationStatus.ps1

<#
.SYNOPSIS
    Prüft APNs Zertifikat-Status.
    
.DESCRIPTION
    Zeigt Ablaufdatum des Apple Push Certs.
    Erfordert die Berechtigung 'DeviceManagementServiceConfig.Read.All'.

.NOTES
    File Name: 144_Get-ApplePushNotificationStatus.ps1
    Author: Mattia Cirillo
    Version: 1.0
#>

param()

Connect-MgGraph -Scopes "DeviceManagementServiceConfig.Read.All"
Get-MgDeviceManagementApplePushNotificationCertificate | Select-Object AppleIdentifier, ExpirationDateTime, LastModifiedDateTime