How to list Windows 10 Upgrades
Do you need to know when a particular upgrade for windows 10 was done?
Open Powershell
Open Windows PowerShell and run the following two cmdlets
PS > $AllBuilds = $(gci “HKLM:\System\Setup” | ? {$_.Name -match “\Source\s”}) | % { $_ | Select @{n=”UpdateTime”;e={if ($_.Name -match “Updated\son\s(\d{1,2}\/\d{1,2}\/\d{4}\s\d{2}:\d{2}:\d{2}))$”) {[dateTime]::Parse($Matches[1],([Globalization.CultureInfo]::CreateSpecificCulture(‘en-US’)))}}}, @{n=”ReleaseID”;e={$_.GetValue(“ReleaseID”)}},@{n=”Branch”;e={$_.GetValue(“BuildBranch”)}},@{n=”Build”;e={$_.GetValue(“CurrentBuild”)}},@{n=”ProductName”;e={$_.GetValue(“ProductName”)}},@{n=”InstallTime”;e={[datetime]::FromFileTime($_.GetValue(“InstallTime”))}} };
PS > $AllBuilds | Sort UpdateTime | ft UpdateTime, ReleaseID, Branch, Build, ProductName
The first command pulls the OS info and saves it to $AllBuilds adn the second command sorts the information.