Microsoft Configuration Manager
An integrated solution for for managing large groups of personal computers and servers.
4,451 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi I trying to make Detect Method with PowerShell:
I have done a Application Information
New-CMApplication `
-Name "Adobe Acobat Reader" `
-Description "Adode Acrobe Reader 64 bits" `
-Publisher Adobe -SoftwareVersion 24.003.20112 `
-IconLocationFile "\\SCCMServer\Apps\Adobe Reader\icon.jpg"
And now I want to create Detection Method with Product code
$clause = New-CMDetectionClauseWindowsInstaller -Existence -ProductCode AC76BA86-1033-FF00-7760-BC15014EA700
Set-CMScriptDeploymentType `
-ApplicationName "Adobe Acrobat Reader" `
-DeploymentTypeName "AcroPro.msi" `
-AddDetectionClause $clause
I got error ..
Set-CMScriptDeploymentType : No object corresponds to the specified parameters.
At line:1 char:1
+ Set-CMScriptDeploymentType `
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.Confi...tDeploymentType:SetScriptDeploymentType) [Set-CMScrip
tDeploymentType], ItemNotFoundException
+ FullyQualifiedErrorId : ItemNotFound,Microsoft.ConfigurationManagement.PowerShell.Cmdlets.AppMan.SetScriptDeploy
mentType
What is wrong ?
Sokoban
Hi, @Sokoban
I see you have solved the problem about deployment type in another thread, so is this problem solved too?