Utility getAllJobsNotAdheringToJobPolicyForRole


Utility getAllJobsNotAdheringToJobPolicyForRole

Description:

This command provides the details of all the jobs that might fail due to non-compliance with the job policy rules for a particular user role. The details include job name, user name, and role name. These details are exported to a .csv file. Administrators can use this information to alert other users.

Return type: String

Command input:

Variable name

Variable type

Description

role name

String

Name of the role for which the job details are fetched.

exportFileName

String

Name of the file that contains the exported command output.

Syntax:

Utility getAllJobsNotAdheringToJobPolicyForRole <role name> <exportFileName>

Example:

The following example shows how to fetch the details of non-compliant jobs for the BLAdmins role.

Utility getAllJobsNotAdheringToJobPolicyForRole BLAdmins "C:/temp/failedJobs.csv"

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*