Skip to content

Commit 2b9719d

Browse files
authored
Merge pull request #399 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/sccm-docs-powershell-ref (branch main)
2 parents 077fc73 + ba345c4 commit 2b9719d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sccm-ps/ConfigurationManager/Invoke-CMWmiQuery.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Run a WMI query.
33
external help file: AdminUI.PS.dll-Help.xml
44
Module Name: ConfigurationManager
5-
ms.date: 12/28/2020
5+
ms.date: 08/02/2022
66
schema: 2.0.0
77
title: Invoke-CMWmiQuery
88
---
@@ -108,7 +108,7 @@ The first command clears the search parameters from any existing search object.
108108

109109
The second command adds search parameters to the **$Search** object. In this case, the query searches for applications.
110110

111-
The last command runs the query stored in **$Search**. It specifies **SMS_Site** as the class that contains the site **CI_ID** property.
111+
The last command runs the query stored in **$Search**. It specifies **SMS_Application** as the class that contains the site **CI_ID** property.
112112

113113
```powershell
114114
$Search.Clear()

sccm-ps/ConfigurationManager/New-CMRequirementRuleExistential.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This example first uses the **Get-CMGlobalCondition** cmdlet to get a custom glo
3838

3939
```powershell
4040
$myGC = Get-CMGlobalCondition -Name "Custom GC1"
41-
$myRule = New-CMRequirementRuleCommonValue -GlobalCondition $myGC -Existential $true
41+
$myRule = New-CMRequirementRuleExistential -GlobalCondition $myGC -Existential $true
4242
4343
Set-CMScriptDeploymentType -ApplicationName "Central app" -DeploymentTypeName "Install" -AddRequirement $myRule
4444
```

0 commit comments

Comments
 (0)