DiagVice
1.6.1
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, and writes an HTML report, a
JS
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, and writes an HTML report, a
JSON report and a plain-text summary for tickets to the output folder.
Run elevated.
Installation Options
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 Set-WorkerProgress Get-StepState Get-UiText Resolve-DiagLanguage Get-FindingText Get-FindingRows ConvertTo-FindingTable Format-NumberedSteps Get-StateWord Get-ErrorMeaning New-VerdictObject Get-DeploymentValue Get-ReportPart Join-Words Format-NameList Get-TrackedApps Get-AppEvidence Test-RecentProvisioning Get-NetworkEvidence Get-ScriptEvidence Get-FailedSetupVerdict Get-Verdict Get-ProgressEntries 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 ConvertTo-SetupState Get-SetupDetail Get-SetupProgress Add-FactRow Get-ProfileValue Get-IntuneEnrollment Test-AccountSkipped Get-FirstSyncNumber Get-EspSettingsText Get-DeploymentFacts Get-EspCategoryStatus Get-EnrollmentAttempts Get-MdmEnrollment Read-SharedText Get-ImeAppNames Get-EspPhase Get-EspTracking Get-EspExpectedItems Get-MsiAppState Get-StateMessage Get-Win32AppState Get-ScriptMessage 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 Enable-DiagDoubleBuffer Save-DiagError Show-DiagPaintError Initialize-DiagTheme Request-DiagDarkMode Set-DiagScrollTheme Add-DiagThemeHook Get-DiagBoxHeight Update-DiagScroll Set-DiagBoxText Set-DiagFacts Get-DiagTextHeight Get-SetupStyle Get-FindingColors New-DiagPanel New-DiagLabel New-DiagTextBox New-DiagButton ConvertTo-CellText ConvertTo-CheckWord New-DetailRow Get-DetailRows New-DetailTable Set-DetailGridLayout Show-ReportWindow Get-VerdictKey New-DiagWindow Set-DiagButtonLayout Set-DiagDetails Update-DiagSubtitle Update-DiagDevice Get-DiagRowHeight Set-DiagSetupRow Update-DiagSetup Update-DiagProgress Update-DiagStatus Update-DiagRunView Update-DiagFindings Update-DiagView Reset-DiagRun Start-DiagRunspace Stop-DiagRunspace Start-DiagWorker Update-DiagWorker Show-DiagResults Start-DiagRerun Complete-DiagRerun Set-DiagStep Add-DiagLog Copy-DiagTicket Test-UploadUrl Hide-UploadSecret Send-DiagUpload Copy-DiagToUsb New-DiagZip Invoke-DiagJob Start-DiagJob Update-DiagJob Complete-DiagJob
Dependencies
This script has no dependencies.
Release Notes
1.6.1 A failed setup is explained from the failed parts, the apps the page tracks, the network errors in the
event logs and a failed platform script. The All details window has a list of tables, one line per row and the
selected row in full below the grid. Dark scrollbars are requested before the first window exists.
1.6.0 The left column follows the Enrollment Status Page (Device preparation, Device setup, Account setup)
instead of listing the checks, and the verdict says when setup is simply running. The phase row is
gone. New Deployment list in the details (profile, mode, join type, tenant, ESP settings). The
findings list and the text boxes use the window colours.
1.5.1 A device that waits at the sign-in screen is no longer reported as a failed enrollment.
1.5.0 The window has the layout of 1.3 again (checks on the left, verdict, phases and steps on the
right, details folding out below) with the Vice colours. No tabs. Log collection, USB copy and
upload run in a second runspace, so the window no longer freezes while they work.
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
- DiagVice.nuspec
- DiagVice.ps1