Skip to content

Error changing app with set-CMDeploymentType #295

Open
@erentz71

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions