Okay, so now we've created those remote
background jobs, how do we remove the
background jobs that we've created? This
is very similar to the way that we remove
jobs that we just create normally that are
not remote. So if we walk through the
process here, we create the new session,
so I'm creating New‑PSSsession on
Computer1 and Computer2, I'm invoking the
command, which basically says go and
create, this is a job, and then you'll see
that I can retrieve the job because I
populated a variable called $job that will
then allow me to retrieve the job and also
to remove the job. Now you notice I'm
using the ‑Force parameter. Now, the
reason we're using the force parameter
here is because I want to force it to be
removed because often you don't
necessarily know the status, and what you
should do in reality is choose Get‑Job
first, look at the status, wait for it to
complete, maybe use the Wait‑Job before
you remove, but if you need to remove it
because it's not working or it hasn't
kicked in, you have to use the ‑force
parameter and that will forcibly delete the job.