Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows PowerShell
- Copyright (C) Microsoft Corporation. All rights reserved.
- Try the new cross-platform PowerShell https://aka.ms/pscore6
- PS C:\Users\tostep> (Get-CimInstance Win32_OperatingSystem).InstallDate
- 21 октября 2020 г. 1:37:42
- PS C:\Users\tostep> Get-Hotfix -id KB4562830, KB4517245 | ft HotFixID, Description, InstalledOn
- HotFixID Description InstalledOn
- -------- ----------- -----------
- KB4562830 Update 27.09.2020 0:00:00
- PS C:\Users\tostep> Get-ChildItem -Path HKLM:\System\Setup\Source* | ForEach-Object {Get-ItemProperty -Path Registry::$_} | Select-Object ProductName, ReleaseID, CurrentBuild, @{n="Install Date"; e={([DateTime]'1/1/1970').AddSeconds($_.InstallDate)}} | Sort-Object "CurrentBuild"
- ProductName ReleaseID CurrentBuild Install Date
- ----------- --------- ------------ ------------
- Windows 10 Pro 10240 16.10.2015 8:16:04
- Windows 10 Pro 1511 10586 18.11.2015 16:54:16
- Windows 10 Pro 1607 14393 04.08.2016 16:24:08
- Windows 10 Pro 1703 15063 07.04.2017 16:41:25
- Windows 10 Pro 1709 16299 11.10.2017 16:04:05
- Windows 10 Pro 1803 17133 03.04.2018 16:41:39
- Windows 10 Pro 1803 17134 30.04.2018 15:30:54
- Windows 10 Pro 1809 17763 03.10.2018 15:30:56
- Windows 10 Pro 1909 18363 27.04.2019 18:47:40
- Windows 10 Pro 2004 19041 26.06.2020 6:01:55
- PS C:\Users\tostep>
Add Comment
Please, Sign In to add comment