PowerShell Lab
Build, find and save PowerShell
Reviewed templates and commands with requirements, permissions and risk spelled out. Nothing here runs anything — you copy, review and run it yourself.
Search pages, tools, PowerShell commands and ports
Edition, display version (24H2…) and the full build with UBR.
1$cv = Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion'2[PSCustomObject]@{3 Edition = (Get-CimInstance Win32_OperatingSystem).Caption4 DisplayVersion = $cv.DisplayVersion5 Build = "$($cv.CurrentBuild).$($cv.UBR)"6}UBR (update build revision) tells you which cumulative update is installed.