15.ledna 2010

PC a internet WMI dotazy

Při instalaci SW pomocí Group policy je často potřeba instalovat jiný software pro 32-bitový a jiný pro 64-bitový operační systém. Nebo některé aplikace instalovat jen na některé Operační systémy. Toto lze snadno vyřešit pomocí WMI dotazu:

64-bitový OS

Select * from Win32_Processor where AddressWidth ='64'

32-bitový OS

Select * from Win32_Processor where AddressWidth ='32'

Workstation

Select * from WIN32_OperatingSystem where ProductType=1

Domain Controller

Select * from WIN32_OperatingSystem where ProductType=2

Server

Select * from WIN32_OperatingSystem where ProductType=3

Windows XP

Select * from WIN32_OperatingSystem where Version='5.1.2600' and ProductType=1

Windows Vista

Select * from WIN32_OperatingSystem where Version='6.0.6002' and ProductType=1

Windows 7

Select * from WIN32_OperatingSystem where Version='6.1.7600' and ProductType=1

Windows 2003

Select * from WIN32_OperatingSystem where Version='5.2.3790' and ProductType>1

Windows 2008

Select * from WIN32_OperatingSystem where Version='6.0.6002' and ProductType>1

Windows 2008 R2

Select * from WIN32_OperatingSystem where Version='6.1.7600' and ProductType>1

Hledáte-li správce sítě nebo prostě nekoho kdo umí spravovat servery, hledejte na www.petr-hladis.cz

Přečteno: 3837x | Komentářů: 3x | Kategorie: PC a internet

Komentáře čtenářů

1. GRAVATAR - asteway@baileymail.xyzasteway26. 2. 2023 19:31:00
<a href=https://buycialis.buzz>buy cheap cialis online</a> Sincerely yours, Maxine
2. GRAVATAR - Pefeldels@bernardmail.xyzPefeldels25. 4. 2023 12:58:00
It is inappropriate to recommend lifelong or indefinite anticoagulation therapy <a href=https://acialis.sbs>purchase cialis</a> 19 K H 2 O 2 V V O 2 L26 1

Reklama ETARGET:

3. GRAVATAR - Chililt@kmaill.xyzChililt1. 11. 2023 0:40:00
<a href=http://cials.top>buy cialis generic online</a> In other words, it suppresses estrogenic activity

Přidat vlastní komentář k článku



Z důvovů ochrany proti spamu prosím do následujícího políčka napište texy "NOSPAM":

Chcete-li ke komentáři přidat svou fotku nebo jinou ikonku, postupujte podle návodu.


TOPlist

[CNW:Counter]