PowerShell

PowerShell is useful for collecting repeatable evidence before changing a Windows device. Start with a question, run a read-only check, and compare the output with the user’s symptom and the relevant Microsoft guidance. These examples do not repair a device or prove a particular update caused a fault.

Three read-only checks

Which Windows build is this?

Get-CimInstance Win32_OperatingSystem | Select-Object Caption, Version, BuildNumber

Record the product name and build number, then compare them with the affected versions in the guide you are using. A build match is a starting point, not a diagnosis. For update planning, see the Windows 11 24H2 support-date guide.

What network configuration did Windows receive?

Get-NetIPConfiguration

Review the active interface, IPv4 address, default gateway and DNS servers. Missing values suggest a different investigation from an authentication prompt. Use the Network troubleshooting hub to choose the next check.

Was an NTLMv1-derived sign-in request blocked?

Get-WinEvent -FilterHashtable @{ LogName='Microsoft-Windows-NTLM/Operational'; Id=4024,4025; StartTime=(Get-Date).AddDays(-7) } | Select-Object TimeCreated,Id,Message

Microsoft documents Event 4024 for an audited request and 4025 for a blocked request. Match the timestamp to the failed connection and confirm the authentication method before drawing a conclusion. The KB5066470 guide explains the affected conditions and the limits of this check.

Use the result safely

Save the exact command, time, Windows build and expected versus actual result in your ticket. Some checks may require appropriate access, and an empty result does not rule out other causes. Redact usernames, server names and internal addresses before sharing output publicly. For more Windows diagnostics, browse the Windows guides.