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”
Read MoreTag: Deployment Types
SQL Query : All Deployment Types
Although I can’t recall exactly why I have this query in my arsenal it returns every deployment type for all of your applications along with install priority and whether it uses script, MSI, or AppV technology. SELECT app.DisplayName AS ApplicationName, dt.DisplayName AS DeploymentTypeName, dt.PriorityInLatestApp, dt.Technology FROM dbo.fn_ListDeploymentTypeCIs(1033) AS dt INNER JOIN dbo.fn_ListLatestApplicationCIs(1033) AS app ON dt.AppModelName = app.ModelName WHERE (dt.IsLatest = 1) order by ApplicationName Sample OUTPUT
Read More