Kaffeeundcode

Get TroubleshootingEvents

Skript Beschreibung

**Zusammenfassung**: Zeigt Troubleshooting Events.

Liest Admin-Events aus dem Troubleshooting-Bereich.
Erfordert die Berechtigung 'DeviceManagementServiceConfig

Skript Infos

Autor Mattia Cirillo
Version 1.0
Sprache PowerShell
78_Get-TroubleshootingEvents.ps1
<#
.SYNOPSIS
    Zeigt Troubleshooting Events.
    
.DESCRIPTION
    Liest Admin-Events aus dem Troubleshooting-Bereich.
    Erfordert die Berechtigung 'DeviceManagementServiceConfig.Read.All'.

.NOTES
    File Name: 78_Get-TroubleshootingEvents.ps1
    Author: Mattia Cirillo
    Version: 1.0
#>

param()

Get-MgDeviceManagementTroubleshootingEvent -Top 20 | Format-Table EventDateTime, CorrelationId, EventName