zoukankan      html  css  js  c++  java
  • 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"
    相信未来 - 该面对的绝不逃避,该执著的永不怨悔,该舍弃的不再留念,该珍惜的好好把握。
  • 相关阅读:
    Tomcat下HTTPS双向认证配置以及客户端调用案例
    Java本地运行中文正常,部署到Weblogic中文乱码
    gson 忽略掉某些字段不进行转换
    JavaScript中定义对象的四种方式
    使用CSS3实现超炫的Loading(加载)动画效果
    不要再使用JS框架了
    HTML5, CSS3, ES5新的web标准和浏览器支持一览 转
    js常用的事件对象
    jQuery用面向对象的思想来编写验证表单的插件
    五个值得尝试的前端开发工具
  • 原文地址:https://www.cnblogs.com/keepmoving1113/p/12246452.html
Copyright © 2011-2022 走看看