Powershell : add UDA Requirement to Deployment Type

Adds a Primary Device Requirement for a Deployment Type where the application will only be installed if the user is a primary user of the computer.

 

Add-CMDeploymentTypeGlobalCondition.ps1 -ApplicationName "application name" -DeploymentTypeName "deployment type" -sdkserver "server name" -sitecode "XX1" -GlobalCondition "PrimaryDevice" -Operator "IsEquals" -Value "True"

Related posts

Leave a Comment