Quantcast
Channel: SCSM PowerShell Cmdlets
Viewing all articles
Browse latest Browse all 306

New Post: Set-SCSMIncident -Status Closed -comment "Auto closed" private not set

$
0
0
Hi,

I used smlets to create a workflow in SCSM 2012 R2 to set incidents in a custom status Warning to Closed. I wanted it to create a comment and assumed it would be not private thus executing another workflow to email the affected user the comment. That does not happen as the attribute "private" is not set or is null

Get-SCSMIncident -Status Warning -InactiveFor 7.0:0:0 | Set-SCSMIncident -Status Closed -comment "Auto closed"

Is it possible to add that functionality somehow?

Viewing all articles
Browse latest Browse all 306

Trending Articles