Skip to content

Commit 6675315

Browse files
committed
Add dsregcmd to the reporting script
1 parent 8b094b5 commit 6675315

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Report.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ if (Test-CommandExists "dxdiag") {
107107
Show-Output "The command `"dxdiag`" was not found."
108108
}
109109

110+
if (Test-CommandExists "dsregcmd") {
111+
Show-Output "Creating report of Microsoft Entra ID device registration."
112+
dsregcmd /status > "${Reports}\dsregcmd.txt"
113+
}
114+
110115
if (Test-CommandExists "gpresult") {
111116
Show-Output "Creating report of group policies."
112117
gpresult /h "${Reports}\gpresult.html" /f

0 commit comments

Comments
 (0)