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 &quot;HKLM:\SYSTEM\Setup\Source OS*&quot;|%{Get-ItemProperty -Path $_.PSPath}|Select-Object InstallDate <a href="">Find phone</a> ,ReleaseId
write-host &quot;Release ID History&quot;
if($aReleaseID.Count -ge 1)
		$aReleases+=new-object PSObject -Property @{&quot;ReleaseID&quot;=$_.ReleaseId;&quot;InstallTime&quot;=((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.