Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows PowerShell
- (C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.
- Попробуйте новую кроссплатформенную оболочку PowerShell (https://aka.ms/pscore6)
- PS C:\WINDOWS\system32> (Get-CimInstance Win32_OperatingSystem).InstallDate
- >> Get-Hotfix -id KB4562830, KB4517245 | ft HotFixID, Description, InstalledOn
- >> 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 {[int]($_.CurrentBuild)}
- >>
- 8 ноября 2020 г. 2:31:03
- HotFixID Description InstalledOn
- -------- ----------- -----------
- KB4562830 Update 07.11.2020 0:00:00
- ProductName ReleaseID CurrentBuild Install Date
- ----------- --------- ------------ ------------
- Windows 8.1 Pro 9600 25.11.2014 20:13:19
- Windows 10 Pro 1511 10586 28.04.2016 16:35:50
- Windows 10 Pro 1511 10586 29.07.2016 9:31:27
- Windows 10 Pro 1607 14393 31.07.2016 18:00:25
- Windows 10 Pro 1703 15063 04.07.2017 20:15:05
- Windows 10 Pro 1709 16299 09.12.2017 12:24:18
- Windows 10 Pro 1803 17134 22.05.2018 20:41:57
- Windows 10 Pro 1809 17763 11.12.2018 22:26:56
- Windows 10 Pro 1909 18363 09.03.2020 12:34:25
- PS C:\WINDOWS\system32>
Add Comment
Please, Sign In to add comment