Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS C:\WINDOWS\system32> (Get-CimInstance Win32_OperatingSystem).InstallDate
- 12 сентября 2020 г. 12:05:45
- PS C:\WINDOWS\system32> Get-Hotfix -id KB4562830, KB4517245 | ft HotFixID, Description, InstalledOn
- Get-Hotfix : Не удается найти запрошенное исправление на компьютере "localhost". Проверьте введенные данные и повторите
- выполнение команды.
- строка:1 знак:1
- + Get-Hotfix -id KB4562830, KB4517245 | ft HotFixID, Description, Insta ...
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : ObjectNotFound: (:) [Get-HotFix], ArgumentException
- + FullyQualifiedErrorId : GetHotFixNoEntriesFound,Microsoft.PowerShell.Commands.GetHotFixCommand
- PS C:\WINDOWS\system32> 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)}
- ProductName ReleaseID CurrentBuild Install Date
- ----------- --------- ------------ ------------
- Windows 8.1 Pro with Media Center 9600 17.10.2013 23:50:41
- Windows 10 Pro 10240 13.08.2015 18:59:37
- Windows 10 Pro 1511 10586 15.04.2016 14:12:43
- Windows 10 Pro 1607 14393 22.09.2016 0:29:35
- Windows 10 Pro 1703 15063 06.04.2017 14:38:01
- Windows 10 Pro 1709 16299 19.10.2017 18:53:14
- Windows 10 Pro 1803 17134 09.06.2018 3:11:01
- Windows 10 Pro 1809 17763 10.10.2018 16:23:04
- Windows 10 Pro 1809 17763 23.12.2018 18:15:39
- Windows 10 Pro 1909 18363 03.08.2019 21:23:18
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement