Zum Inhalt
Kaffeeundcode
Skriptbibliothek
PowerShell 06.10.2026

PowerShell

Get MyIntunePermissions

98_Get-MyIntunePermissions.ps1

<#
.SYNOPSIS
    Zeigt meine Berechtigungen im detail.

.DESCRIPTION
    <!-- library-status:start -->
    Prüfstatus: Ungeprüft
    Windows- und Tenant-Abnahme ausstehend; keine pauschale Produktionsfreigabe.

    <!-- library-status:end -->

    Detaillierte Auflistung der Token-Scopes.
    Erfordert: User.Read.

.NOTES
    File Name: 98_Get-MyIntunePermissions.ps1
    Author: Mattia Cirillo
    Version: 1.0
#>

Connect-MgGraph
(Get-MgContext).Scopes | ForEach-Object { Write-Host "- $_" -ForegroundColor Cyan }