Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Poslední revize Obě strany příští revize | |||
10:start [01.07.2018 12:46] vm vytvořeno |
10:start [01.07.2018 12:47] vm |
||
---|---|---|---|
Řádek 1: | Řádek 1: | ||
====== Windows 10 ====== | ====== Windows 10 ====== | ||
- | |||
===== Build a patch levely ===== | ===== Build a patch levely ===== | ||
* [[https://support.microsoft.com/en-us/help/4000825]] | * [[https://support.microsoft.com/en-us/help/4000825]] | ||
+ | |||
+ | ===== Get OS Build and revision ===== | ||
+ | <code> | ||
+ | $WinVer = New-Object –TypeName PSObject | ||
+ | $WinVer | Add-Member –MemberType NoteProperty –Name Major –Value $(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion' CurrentMajorVersionNumber).CurrentMajorVersionNumber | ||
+ | $WinVer | Add-Member –MemberType NoteProperty –Name Minor –Value $(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion' CurrentMinorVersionNumber).CurrentMinorVersionNumber | ||
+ | $WinVer | Add-Member –MemberType NoteProperty –Name Build –Value $(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion' CurrentBuild).CurrentBuild | ||
+ | $WinVer | Add-Member –MemberType NoteProperty –Name Revision –Value $(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion' UBR).UBR | ||
+ | $WinVer | ||
+ | </code> | ||
10/start.txt · Poslední úprava: 01.07.2018 12:49 autor: vm