Kaffeeundcode
Script Library
PowerShell 11.12.2025

Script Workspace

Get AADDeviceStatus

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

80_Get-AADDeviceStatus.ps1

<#
.SYNOPSIS
    Checks Azure AD Registration Status.
    
.DESCRIPTION
    Runs dsregcmd /status and parses key info.
    
.NOTES
    File Name: 80_Get-AADDeviceStatus.ps1
    Author: Mattia Cirillo
    Version: 1.0
#>

dsregcmd /status