Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error changing app with set-CMDeploymentType #295

Open
erentz71 opened this issue Jan 23, 2024 · 0 comments
Open

Error changing app with set-CMDeploymentType #295

erentz71 opened this issue Jan 23, 2024 · 0 comments

Comments

@erentz71
Copy link

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
    
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant