dbatools - Copy all jobs to the other node - selected jobs only
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.