Automatically close incidents after x number of days

I had a request from a customer that the would like a workflow to close all resolved incidents, 7 days after they were resolved. Several solutions exists on the internet, but I think this one is the most simple. First you need to install the SCSM Powershell Cmdlets, as it includes a cmdlet called Get-SCSMIncident…