Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #file name = find_win7_telemetry_&_w7-to-w10_updates.ps1
- # finds the following win7 telemetry & w7-to-w10-upgrade updates so you can remove them if you wish.
- #
- #changes
- # 2015-11-07, Saturday
- # - added comments
- # - changed
- # - Get-CimInstance -Class "win32_quickfixengineering"
- # to
- # - Get-HotFix
- # 2015-12-09, Wednesday
- # - added KB3112343
- # - spelling fixes
- # - changed file name to include w7-to-w10
- # 2016-02-06, Saturday
- # - added KB3123862
- # 2016-02-10, Wednesday
- # - added KB3135445
- # 2016-03-05, Saturday
- # - added KB3138612
- #win7 telemetry & w7-to-w10 updates list
- # these are not ALL of them, but they are the ones that seem to be referred to most often.
- #
- #KBId = 2952664
- #Title = Compatibility update for upgrading Windows 7
- #url = https://support.microsoft.com/en-us/kb/2952664
- #KBId = 2990214
- #Title = Update that enables you to upgrade from Windows 7 to a later version of Windows
- #url = https://support.microsoft.com/en-us/kb/2990214
- #KBId = 3021917
- #Title = Update to Windows 7 SP1 for performance improvements [includes CEIP telemetry]
- #url = https://support.microsoft.com/en-us/kb/3021917
- #KBId = 3022345
- #Title = Update for customer experience and diagnostic telemetry
- #url = https://support.microsoft.com/en-us/kb/3022345
- #KBId = 3035583
- #Title = Update installs Get Windows 10 app in Windows 8.1 and Windows 7 SP1
- #url = https://support.microsoft.com/en-us/kb/3035583
- #KBId = 3068708
- #Title = Update for customer experience and diagnostic telemetry
- #url = https://support.microsoft.com/en-us/kb/3068708
- #KBId = 3075249
- #Title = Update that adds telemetry points to consent.exe in Windows 8.1 and Windows 7
- #url = https://support.microsoft.com/en-us/kb/3075249
- #KBId = 3080149
- #Title = Update for customer experience and diagnostic telemetry
- #url = https://support.microsoft.com/en-us/kb/3080149
- #KBId = 3112343
- #Title = Windows Update Client for Windows 7 and Windows Server 2008 R2: December 2015
- #url = https://support.microsoft.com/en-us/kb/3112343
- #KBId = 3123862
- #Title = Updated capabilities to upgrade Windows 8.1 and Windows 7
- #url = https://support.microsoft.com/en-us/kb/3123862
- #KBId = 3135445
- #Title = Windows Update Client for Windows 7 and Windows Server 2008 R2: February 2016
- #url = https://support.microsoft.com/en-us/kb/3135445
- #KBId = 3138612
- #Title = Windows Update Client for Windows 7 and Windows Server 2008 R2: March 2016
- #url = https://support.microsoft.com/en-us/kb/3138612
- #end of win7 telemetry updates list
- #
- $Installed_Updates = Get-HotFix
- $Win7_Telemetry_Updates = "KB2952664","KB2990214","KB3021917","KB3022345","KB3035583","KB3068708",
- "KB3075249","KB3080149","KB3112343","KB3123862","KB3135445","KB3138612"
- foreach ($KB_Id in $Win7_Telemetry_Updates)
- {if ($Installed_Updates.hotfixid -eq $KB_Id)
- {write-output "found $KB_Id"}
- else
- {write-output "--------------> $KB_Id NOT found"}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement