Guest User

Untitled

a guest
Nov 9th, 2020
145
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Windows PowerShell
  2. Copyright (C) Microsoft Corporation. All rights reserved.
  3.  
  4. Try the new cross-platform PowerShell https://aka.ms/pscore6
  5.  
  6. PS C:\Users\tostep> (Get-CimInstance Win32_OperatingSystem).InstallDate
  7.  
  8. 21 октября 2020 г. 1:37:42
  9.  
  10.  
  11. PS C:\Users\tostep> Get-Hotfix -id KB4562830, KB4517245 | ft HotFixID, Description, InstalledOn
  12.  
  13. HotFixID Description InstalledOn
  14. -------- ----------- -----------
  15. KB4562830 Update 27.09.2020 0:00:00
  16.  
  17.  
  18. 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"
  19.  
  20. ProductName ReleaseID CurrentBuild Install Date
  21. ----------- --------- ------------ ------------
  22. Windows 10 Pro 10240 16.10.2015 8:16:04
  23. Windows 10 Pro 1511 10586 18.11.2015 16:54:16
  24. Windows 10 Pro 1607 14393 04.08.2016 16:24:08
  25. Windows 10 Pro 1703 15063 07.04.2017 16:41:25
  26. Windows 10 Pro 1709 16299 11.10.2017 16:04:05
  27. Windows 10 Pro 1803 17133 03.04.2018 16:41:39
  28. Windows 10 Pro 1803 17134 30.04.2018 15:30:54
  29. Windows 10 Pro 1809 17763 03.10.2018 15:30:56
  30. Windows 10 Pro 1909 18363 27.04.2019 18:47:40
  31. Windows 10 Pro 2004 19041 26.06.2020 6:01:55
  32.  
  33.  
  34. PS C:\Users\tostep>
  35.  
RAW Paste Data