Resolution description on resolved incidents

Oct 12, 2011 at 11:31 AM


How it possible to fill Resolution Description field (need when incident indicating as resolved)?


Oct 21, 2011 at 1:10 AM

you need to set the ResolutionDescription on the incident instance, code-wise, it will look something like:

get-scsmclass workitem.incident$ | get-scsmobject  -Filter "DisplayName = CustomIR28" | set-scsmobject -PropertyHashtable @{ ResolutionDescription = "description" }



Oct 21, 2011 at 7:12 AM
Edited Oct 21, 2011 at 7:21 AM

Thank you for your reply!

I already found solution like on your example but little bit different
Get-SCSMClass -Name "System.WorkItem.Incident$" |Get-SCSMObject -Filter "Id -eq $SDRequest" | Set-SCSMObject -Property ResolutionDescription -Value $RequestDescription