![]() ![]() $CurrentBuild = ( Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion ' –Name CurrentBuild).CurrentBuild $Version = ( Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion ' –Name ReleaseID –ErrorAction Stop).ReleaseID ![]() $ProductName = ( Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion ' –Name ProductName).ProductName Columns.AddRange( "ComputerName ", "Windows Edition ", "Version ", "OS Build ")) The latest available update for the OS version.The installed update that corresponds to that build number, as well as the KB number and a link to the info page.It can also report on all Windows updates published for the version of Windows 10 a workstation is currently on. The script below can be used to report which OS build a Windows 10 workstation is currently on as well as which update is the latest update available to the device. The only reliable and useable static list I could find for Windows 10 build numbers is Microsoft’s Windows 10 Update History web page, so I decided to build a PowerShell script that parses the page to get current patch info. I was working on some updates to our unified reporting solution for Windows Updates (ie WUfB + MEMCM) and I wanted to figure out simply from the OS build number whether a Windows 10 workstation has the latest cumulative update installed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |