Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS C:\Users\Mazdaywik> (Get-CimInstance Win32_OperatingSystem).InstallDate
- 22 июня 2020 г. 8:58:49
- PS C:\Users\Mazdaywik> 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:\Users\Mazdaywik> 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 9600 04.11.2013 23:09:35
- Windows 10 Pro 10240 04.08.2015 6:25:30
- Windows 10 Pro 1511 10586 07.12.2015 19:13:07
- Windows 10 Pro 1607 14393 02.08.2016 22:19:47
- Windows 10 Pro 1703 15063 12.04.2017 3:50:46
- Windows 10 Pro 1709 16299 29.10.2017 21:30:35
- Windows 10 Pro 1803 17134 14.05.2018 6:18:27
- Windows 10 Pro 1909 18363 21.07.2019 0:21:46
- PS C:\Users\Mazdaywik>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement