Is there a way to create multiple Deployment Types under one application. I am using Add-CMScriptDeploymentType and get an error on the second one.
Add-CMScriptDeploymentType : ConfigMgr Error Object:
instance of SMS_ExtendedStatus
{
Description = "The digest is not valid";
ErrorCode = 1078462235;
File = "..\\sspconfigurationitem.cpp";
Line = 1980;
Operation = "PutInstance";
ParameterInfo = "";
ProviderName = "ExtnProv";
SQLMessage = "[42000][3998][Microsoft]
[SQL Server]Uncommittable transaction is
detected at the end of the batch. The transaction is rolled back.";
SQLSeverity = 16;
SQLStatus = 3998;
StatusCode = 2147749889;
};
At C:\Install\CreateTKA.ps1:252 char:11
+ Add-CMScriptDeploymentType -ApplicationName $ApplicationNam ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Microsoft.Confi...mentTypeCommand:AddScriptDeploymentTypeCommand) [Add-CM
ScriptDeploymentType], WqlQueryException
+ FullyQualifiedErrorId : UnhandledException,Microsoft.ConfigurationManagement.Cmdlets.AppMan.Commands.AddScriptDe
ploymentTypeCommand