Advertisement
Guest User

Untitled

a guest
Nov 10th, 2020
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PS C:\Users\Mazdaywik> (Get-CimInstance Win32_OperatingSystem).InstallDate
  2.  
  3. 22 июня 2020 г. 8:58:49
  4.  
  5.  
  6. PS C:\Users\Mazdaywik> Get-Hotfix -id KB4562830, KB4517245 | ft HotFixID, Description, InstalledOn
  7. Get-Hotfix : Не удается найти запрошенное исправление на компьютере "localhost". Проверьте введенные данные и повторите
  8.  выполнение команды.
  9. строка:1 знак:1
  10. + Get-Hotfix -id KB4562830, KB4517245 | ft HotFixID, Description, Insta ...
  11. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  12.     + CategoryInfo          : ObjectNotFound: (:) [Get-HotFix], ArgumentException
  13.     + FullyQualifiedErrorId : GetHotFixNoEntriesFound,Microsoft.PowerShell.Commands.GetHotFixCommand
  14.  
  15. 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)}
  16. >>
  17.  
  18. ProductName     ReleaseID CurrentBuild Install Date
  19. -----------     --------- ------------ ------------
  20. Windows 8.1 Pro           9600         04.11.2013 23:09:35
  21. Windows 10 Pro            10240        04.08.2015 6:25:30
  22. Windows 10 Pro  1511      10586        07.12.2015 19:13:07
  23. Windows 10 Pro  1607      14393        02.08.2016 22:19:47
  24. Windows 10 Pro  1703      15063        12.04.2017 3:50:46
  25. Windows 10 Pro  1709      16299        29.10.2017 21:30:35
  26. Windows 10 Pro  1803      17134        14.05.2018 6:18:27
  27. Windows 10 Pro  1909      18363        21.07.2019 0:21:46
  28.  
  29.  
  30. PS C:\Users\Mazdaywik>
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement