Windows 10: Determine history of feature upgrades


this powershell script determines the previous Windows 10 ReleaseIDs and install date of all feature updates applied to a system.

# Check for Windows 10
$oWMIOS=Get-WmiObject -query "Select * from Win32_operatingSystem"
if($oWMIOS.Caption.IndexOf("Microsoft Windows 10") -ge -1)
	exit 0

# Feature Updates
$aReleaseID=Get-Item "HKLM:\SYSTEM\Setup\Source OS*"|%{Get-ItemProperty -Path $_.PSPath}|Select-Object InstallDate,ReleaseId
write-host "Release ID History"
if($aReleaseID.Count -ge 1)
		$aReleases+=new-object PSObject -Property @{"ReleaseID"=$_.ReleaseId;"InstallTime"=((Get-Date 01.01.1970)+[System.TimeSpan]::fromseconds($_.InstallDate))}
	$aReleases|format-table -autosize


Advertisment to support

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.