Guest User

Untitled

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