add a powershell possibility to add repair command to a deploymenttype of an application
add a powershell possibility to add repair command to a deploymenttype of an application


We have added new parameters for 2002 for Add/Set-MsiDeploymentType:
-RepairCommand/-RepairProgram (mutually exclusive)
-RepairWorkingDirectory/-RepairStartIn (mutually exclusive)
These changes should be in the latest TPs.
11 comments
-
We will have Repair functionality for Add/Set-CMScriptDeploymentType in 2010.
-
Anonymous commented
Are these parameters also available in Add/Set-CMScriptDeploymentType ?
-
Set-CMDeploymentType is deprecated and not undergoing any further development. Please use one of the replacements (such as Set-CMMsiDeploymentType) which should offer the functionality that need.
For the missing parameter to New-CMApplicationDeployment, please send a frown through the console on this and we will look into adding this in a future release.
Thanks!
-
Jaghaddeesh commented
Powershell commandlets for application deployment type and deployment modification.
Set-CMDeploymentType: has only install program & uninstall program. Repair program is missing from the commandline& New-CMApplicationDeployment: Deployment settings Allow end users to attempt to repair this application command line is also missing.
Kindly help to add this feature will be useful for automation of app creation and modification.
-
GVL commented
Any news about that topic ?
-
Grant commented
Also need the ability to set the flag on app deployments to "Allow end users to attempt to repair this application"
-
Grant commented
The sccm powershell cmdlets do not currently support the ability to add repair command to a app model deployment type. You have to deserialize the SDMPackageXML to be able to do this via automation. All of our apps are created via script and this capability would be much appreciated.
-
GVL commented
Command always not available in 1906 ....
-
Chaitanya commented
Yes, iam also looking for the same. Please let us know how to add repair command or is there any work around
-
Jos Pieters commented
Yes, that's what I was looking for.
We have: Set-CMMsiDeploymentType
InstallCommand and UninstallCommand, but missing RepairCommand
Please add it to Powershell. -
GVL commented
As the title says, add a powershell possibility to add repair command to a deploymenttype of an application