Is it possible to copy all sql server agent jobs using dbatools from one node to another, except a particular job? or perhaps just copy a set of jobs?

migrated from stackoverflow.com Jun 27 '18 at 20:51

This question came from our site for professional and enthusiast programmers.


The beauty about dbatools is that the source code is available on github

you can use -ExcludeJob parameter

.PARAMETER ExcludeJob The job(s) to exclude. This list is auto-populated from the server.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.