Kaffeeundcode
Script Library
PowerShell 01.06.2026

Script Workspace

Check DeviceSecurityScore

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

70_Check-DeviceSecurityScore.ps1

<#
.SYNOPSIS
    Zeigt Sicherheitsbewertung (Mockup).
    
.DESCRIPTION
    Liest Security-Properties. (Hinweis: Echte Secure Score API ist separat).
    Erfordert die Berechtigung 'DeviceManagementManagedDevices.Read.All'.

.NOTES
    File Name: 70_Check-DeviceSecurityScore.ps1
    Author: Mattia Cirillo
    Version: 1.0
#>

param()

Write-Host "Zeige aggregierten Sicherheitsstatus der Geräte..."
# Mockup Logic based on compliance