• GPO


    WMI filtering Setting

    - Differentiating Installation Between Operations and Architecture.

     WMI SQL General script:

    64-bit
    select * from Win32_OperatingSystem WHERE OSArchitecture = "64-bit" AND ProductType="1"
    
    32-bit
    select * from Win32_OperatingSystem WHERE OSArchitecture = "32-bit" AND ProductType="1"
    
    Windows 10 
    select Version from Win32_OperatingSystem WHERE Version like "10.%" AND ProductType="1"
    
    
    Windows 7, 8 and 8.1 
    select Version from Win32_OperatingSystem WHERE Version like "6.%" AND ProductType=1AND OSArchitecture =64-bitselect Version from Win32_OperatingSystem WHERE Version like "6.%" AND ProductType=1AND NOT OSArchitecture =64-bitselect Version from Win32_OperatingSystem WHERE Version like "6.%" AND ProductType=1″
    
    Windows 8.1
    select Version from Win32_OperatingSystem WHERE Version like6.3%AND ProductType=1AND OSArchitecture =64-bitselect Version from Win32_OperatingSystem WHERE Version like6.3%AND ProductType=1AND NOT OSArchitecture =64-bitselect Version from Win32_OperatingSystem WHERE Version like6.3%AND ProductType=1″
    
    Windows 8
    select Version from Win32_OperatingSystem WHERE Version like "6.2%AND ProductType=1AND OSArchitecture =64-bitselect Version from Win32_OperatingSystem WHERE Version like "6.2%" AND ProductType=1AND NOT OSArchitecture =64-bitselect Version from Win32_OperatingSystem WHERE Version like "6.2%" AND ProductType=1″
    
    Windows 7
    select Version from Win32_OperatingSystem WHERE Version like "6.1%" AND ProductType="1" AND OSArchitecture = "64-bit"
    select Version from Win32_OperatingSystem WHERE Version like "6.1%" AND ProductType="1" AND NOT OSArchitecture = "64-bit"
    select Version from Win32_OperatingSystem WHERE Version like "6.1%" AND ProductType="1"
    相信未来 - 该面对的绝不逃避,该执著的永不怨悔,该舍弃的不再留念,该珍惜的好好把握。
  • 相关阅读:
    Elasticsearch-PHP 索引操作2
    Elasticsearch-PHP 索引操作
    Linux系统编程1_C标准函数库和系统调用
    Git命令_git commit
    Git命令_git log
    Linux27_配置samba
    计算机网络12_整理
    理解操作系统8——字符设备与块设备
    网站开发基础知识3_会话和cookie
    网站开发基础知识2_前后端分离
  • 原文地址:https://www.cnblogs.com/keepmoving1113/p/12246452.html
Copyright © 2020-2023  润新知