Skip to main content

Microsoft - Domain Joined

Summary

This role definition helps you track machines that are domain joined.

Settings

Detection StringComparatorResultApplicable OS
%{powershell.exe -nologo -noprofile -command "$ErrorActionPreference='SilentlyContinue';$DSRegStatus = dsregcmd.exe /status;@('False','True')[($DSRegStatus -like '*AzureAdJoined : NO*') -and ($DSRegStatus -like '*EnterpriseJoined : NO*') -and ($DSRegStatus -like '*DomainJoined : YES*')]}"@%EqualsTrueWindows