get an error 'access denied' when the script tries to remove the scheduled task: At C:\ps\fix.intune.ps1:20 char:3 + $rootFolder.DeleteFolder($enrollmentId,0) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (:) [], UnauthorizedAccessException + FullyQualifiedErrorId : System.UnauthorizedAccessException