如何使用查询创建 Windows 移动设备集合

应用到: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

您可以在您的组织中为分组设备创建新的 Microsoft System Center Configuration Manager 2007 集合。创建设备集合与创建 Configuration Manager 2007 计算机客户端集合类似。唯一的差别是如果使用了查询规则,那么必须使用设备类而不是桌面类作为数据源。发现数据包含在系统类 (SMS_R_System) 中,这点与 Configuration Manager 2007 客户端计算机和设备相同。有关创建集合的详细信息,请参阅如何创建集合

移动设备的 Microsoft System Center Configuration Manager 2007 集合允许管理员将播发分发到明确定义的移动设备组中。这对于播发仅对某种移动设备平台或某一组平台有效的情况特别有用。Configuration Manager 2007 允许管理员创建新的自定义集合。创建新集合需要返回正确的 Configuration Manager 2007 资源组的查询。

使用以下过程创建 Windows Mobile 6 Pocket PC 设备的集合。

创建 Windows Mobile 6 Pocket PC 设备的集合

  1. 在 Configuration Manager 控制台中,导航到“System Center Configuration Manager/站点数据库/计算机管理/集合”。

  2. 右键单击“集合”,然后选择“新建集合”。此时打开新建集合向导。

  3. 键入新集合的名称以及与新集合一同显示的备注。单击“下一步”。

  4. 单击“成员身份规则”中的“查询规则”图标。此时打开“查询规则属性”对话框。

  5. 键入查询规则名称。

  6. 单击“编辑查询语句”按钮。此时打开“查询语句属性”对话框。

  7. 单击“显示查询语言”按钮。此时打开“查询语言”选项卡。

  8. 复制下列查询,并将其粘贴到“查询语句”窗格中:

    select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System where ResourceType = 5 and ClientType = 3 and OperatingSystemNameandVersion = 'Windows CE 5.2 (PocketPC)'

  9. 单击“确定”,然后单击“下一步”。

  10. 指定用户对此对象类或实例具有的安全用户权限。单击“下一步”。新集合创建完成。

  11. 单击“关闭”以关闭新建集合向导。

移动设备平台查询

下列移动设备平台的查询可由上述步骤中的查询来替换:

  • 所有 Windows Mobile 6 设备

  • Windows Mobile 6 Professional 设备

  • Windows Mobile 6 Standard 设备

  • 所有 Windows Mobile 5 设备

  • Windows CE 6 设备

  • Windows CE 5 设备

  • Windows CE 4.2 设备

  • 所有 Windows Mobile Smartphone 设备(包括 Windows Mobile 6 Standard)

  • 所有 Windows Mobile Pocket PC 设备(包括 Windows Mobile 6 Professional)

所有 Windows Mobile 6 设备

用下列查询替换上述步骤中的查询以创建所有 Windows Mobile 6 设备的集合。

select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System where ResourceType = 5 and ClientType = 3 and ( (OperatingSystemNameandVersion = 'Windows CE 5.2 (PocketPC)') or (OperatingSystemNameandVersion = 'Windows CE 5.2 (SmartPhone)'

Windows Mobile 6 Professional 与 Classic 设备

用在创建所有 Windows Mobile 6 Professional 设备集合的步骤中所使用的查询替换下列查询。

select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System where ResourceType = 5 and ClientType = 3 and OperatingSystemNameandVersion = 'Windows CE 5.2 (PocketPC)'

Windows Mobile 6 Standard 设备

用在创建所有 Windows Mobile 6 Standard 设备集合的步骤中所使用的查询替换下列查询。

select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System where ResourceType = 5 and ClientType = 3 and OperatingSystemNameandVersion = 'Windows CE 5.2 (SmartPhone)'

Windows Mobile 5 设备

用在创建所有 Windows Mobile 5 设备集合的步骤中所使用的查询替换下列查询。

select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System where ResourceType = 5 and ClientType = 3 and ( (OperatingSystemNameandVersion = 'Windows CE 5.1 (PocketPC)') or (OperatingSystemNameandVersion = 'Windows CE 5.1 (SmartPhone)'

Windows Mobile 2003 设备

用在创建所有 Windows Mobile 2003 设备集合的步骤中所使用的查询替换下列查询。

select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System where ResourceType = 5 and ClientType = 3 and ( (OperatingSystemNameandVersion like 'Windows CE 4.% (PocketPC)') or (OperatingSystemNameandVersion like 'Windows CE 4.% (SmartPhone)'

Windows CE 6 设备

用在创建所有 Windows CE 6 设备集合的步骤中所使用的查询替换下列查询。

select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System where ResourceType = 5 and ClientType = 3 and OperatingSystemNameandVersion like 'Windows CE 6.0 %'

Windows CE 5 设备

用在创建所有 Windows CE 5 设备集合的步骤中所使用的查询替换下列查询。

select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System where ResourceType = 5 and ClientType = 3 and OperatingSystemNameandVersion like 'Windows CE 5.0 %'

Windows CE 4.2 设备

用在创建所有 Windows Mobile CE 4.2 设备集合的步骤中所使用的查询替换下列查询。

select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System where ResourceType = 5 and ClientType = 3 and OperatingSystemNameandVersion like 'Windows CE 4.2 %'

任何 Windows Mobile Smartphone 设备

用在创建所有 Windows Mobile Smartphone 设备(包括 Windows Mobile 6 Standard)集合的步骤中所使用的查询替换下列查询。

select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System where ResourceType = 5 and ClientType = 3 and OperatingSystemNameandVersion like '%(SmartPhone)'

任何 Windows Mobile Pocket PC 设备

用在创建所有 Windows Mobile Pocket PC 设备(包括 Windows Mobile 6 Professional)集合的步骤中所使用的查询替换下列查询。

select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System where ResourceType = 5 and ClientType = 3 and OperatingSystemNameandVersion like '%(PocketPC)'

有关其他信息,请参阅 Configuration Manager 2007 Information and Support
要与文档团队联系,请将电子邮件发送至 SMSdocs@microsoft.com。