dbatools icon indicating copy to clipboard operation
dbatools copied to clipboard

Copy-DbaAgentJob - parameter to skip SSRS subscription jobs

Open elguapo79 opened this issue 2 years ago • 0 comments

Summarize Functionality

It would be super awesome if we could get a parameter added to Copy-DbaAgentJob to skip the copying of SSRS subscription jobs.

Is there a command that is similiar or close to what you are looking for?

No

Technical Details

a simple param -SkipSSRS or the like, that would skip over agent jobs belonging to the Report Server category

elguapo79 avatar Jun 27 '22 21:06 elguapo79

Copy-DbaAgentJob offers a parameter to filter the jobs that will be processed. You can pull the jobs of interest using Get-DbaAgentJob where it will not include your SSRS job names, and pipe or pass that list to the Copy command.

Example 4 from docs

wsmelton avatar Aug 17 '22 12:08 wsmelton