Skip to content

Commit b1be728

Browse files
Update New-CMDetectionClauseWindowsInstaller.md
Changed Set-CMScriptDeploymentType to CMMsiDeploymentType since we are talking about MSI.
1 parent 86a397d commit b1be728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sccm-ps/ConfigurationManager/New-CMDetectionClauseWindowsInstaller.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ This example adds the Configuration Manager console MSI product code to the depl
4848
```powershell
4949
$clause = New-CMDetectionClauseWindowsInstaller -Existence -ProductCode 4F7840A9-9816-45E2-9F6C-F7067A8BC0FD
5050
51-
Set-CMScriptDeploymentType -ApplicationName "Configuration Manager console" -DeploymentTypeName "Install" -AddDetectionClause $clause
51+
Set-CMMsiDeploymentType -ApplicationName "Configuration Manager console" -DeploymentTypeName "Install" -AddDetectionClause $clause
5252
```
5353

5454
## PARAMETERS

0 commit comments

Comments
 (0)