Description
Getting the error below when attempting to update a deployment type using Set-CMDeploymentType
In my first attempt I get the cm deployment type then passed it to set-cmdeploymenttype and set the content location to something new. In my second attempt I used just set-cmdeploymenttype and still the same error.
The application was created through the GUI and works fine. Content distributed and application installs.
Example command
Set-CMDeploymentType -ApplicationName 'google chrome' -DeploymentTypeName 'Google Chrome - Windows Installer (*.msi file)' -ContentLocation '\server1\SourceFiles\GoogleChrome2'
Error
set-CMDeploymentType : The deployment type 'Microsoft.ConfigurationManagement.ApplicationManagement.MsiInstaller' is unrecognized
and cannot be used by this cmdlet.
At line:1 char:1
- set-CMDeploymentType -ApplicationName 'google chrome' -DeploymentType ...
-
+ CategoryInfo : InvalidOperation: (Microsoft.Confi...tDeploymentType:SetDeploymentType) [Set-CMDeploymentType], Invali dOperationException + FullyQualifiedErrorId : UnknownDeploymentType,Microsoft.ConfigurationManagement.PowerShell.Cmdlets.AppMan.SetDeploymentType
Activity