DiagVice

1.4.0

Reads registry, event logs, IME logs, TPM, join state and network reachability
and turns them into a list of findings with resolved error codes.
Works in OOBE (Shift+F10) and in the full OS. No modules and no Graph access needed.
App names are resolved offline from the IME logs.

Gives a verdict in plain language with the steps to take, in Danish, English, German,
Fre
Reads registry, event logs, IME logs, TPM, join state and network reachability
and turns them into a list of findings with resolved error codes.
Works in OOBE (Shift+F10) and in the full OS. No modules and no Graph access needed.
App names are resolved offline from the IME logs.

Gives a verdict in plain language with the steps to take, in Danish, English, German,
French or Italian, and writes an HTML report, a JSON report and a plain-text summary for
tickets to the output folder.
Run elevated.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name DiagVice -RequiredVersion 1.4.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Daniel L. Baldissera. All rights reserved.

Package Details

Author(s)

  • Daniel L. Baldissera

Tags

Intune Autopilot Diagnostics ESP Enrollment Windows

Functions

Add-Finding Get-FindingCounts Set-WorkerProgress Get-UiText Resolve-DiagLanguage Get-FindingText Get-FindingRows ConvertTo-FindingTable Format-NumberedSteps Get-Verdict Test-FindingId Get-PhaseStatus Get-PhaseLine Get-PhaseGlyph Get-DeviceValue Get-TicketText Write-ConsoleFindings ConvertTo-HtmlSummary Write-Section Get-ShortText Get-RegValue Get-RegistryValues Resolve-ErrorCode Get-DeviceInfo Get-TpmInfo Get-JoinState Get-AutopilotProfile Get-EspCategoryStatus Get-EnrollmentAttempts Get-MdmEnrollment Read-SharedText Get-ImeAppNames Get-EspTracking Get-EspExpectedItems Get-MsiAppState Get-StateMessage Get-Win32AppState Get-ScriptState Get-ImeStatus Get-ImeLogErrors Get-DiagEvents Get-EventErrorCodes Test-TlsEndpoints Get-NetworkState Test-Endpoints Get-HybridJoinState Get-MiscState Invoke-LogCollection ConvertTo-HtmlSection Select-DiagFontName Initialize-DiagFonts Set-DiagPalette Set-DiagTitleBar Measure-DiagText New-DiagRoundPath Enable-DiagDoubleBuffer Set-DiagColorOne Set-DiagControlColors Set-DiagStyle New-DiagLabel New-DiagTextBox New-DiagCard New-DiagPill Set-DiagPill New-DiagButton Get-DiagTabIndex Show-ReportWindow Get-VerdictKey Get-VerdictPill Get-PhaseStyle Get-SeverityKey New-DiagWindow Set-DiagTheme Show-DiagPaintError Set-DiagTab Open-DiagFinding Update-DiagDevice Update-DiagSubtitle Update-DiagHeader Update-DiagTabs Update-DiagStats Update-DiagProgress Update-DiagChecks Update-DiagOverview Update-DiagFindings Update-DiagDetail Update-DiagRunView Reset-DiagRun Stop-DiagTimer Stop-DiagWorker Start-DiagWorker Update-DiagWorker Show-DiagResults Update-DiagStatus Update-DiagLanguage Set-DiagStep Add-DiagLog Copy-DiagTicket Test-UploadUrl Hide-UploadSecret Send-DiagUpload Copy-DiagToUsb Get-DiagZip Invoke-DiagCollect Invoke-DiagUsb Invoke-DiagSend

Dependencies

This script has no dependencies.

Release Notes

1.4.0 New window in the style of the other Vice tools: stat cards, tabs (Overview, Findings, Checks, Log),
English only: the other four languages were removed to keep the script small.
three themes (Vice, Light, Dark; -Theme) and language and theme menus in the header.
The checks run in a second runspace so the window stays responsive, and the endpoint test
connects to all targets at the same time.
1.3.1 Finds a failed Enrollment Status Page from the category state, lists earlier failed MDM
enrollment attempts, flags a stale ESP failure on a device that has since enrolled, and
reads IME logs that are in use so app names are resolved.
1.3.0 Save the log package to a USB drive, or send it to Azure Blob Storage with a write-only SAS
(-UploadUrl or DiagVice.config.json).
1.2.0 The window is now the default; -Console gives console output only. Plain-language verdict
with numbered steps, five phases, copy to ticket, a simple and a detailed window view,
and five languages (da, en, de, fr, it).
1.1.0 Version and author shown in the window. Less event log noise, unmanaged devices
reported as information, TCP-only test for the delivery endpoint, safe window close.
1.0.0 Initial release.

FileList

Version History

Version Downloads Last updated
1.7.2 18 12/1/2026
1.7.1 14 11/30/2026
1.7.0 10 11/30/2026
1.6.1 11 11/30/2026
1.6.0 12 11/30/2026
1.5.1 10 11/30/2026
1.5.0 8 11/30/2026
1.4.0 (current version) 11 11/30/2026
1.3.0 13 11/29/2026
1.2.0 12 11/29/2026
Show less