[Autogenerated] So what's the difference
between using the session approach versus
just passing the computer name? Well, if
we use the same computer name, it creates
a single connection to the target client
or the server. You can start and stop the
session automatically, so you just connect
in, and then when you finished, it will
disconnect. And you would usually use this
for execute in single commands against the
client or the server. On the flip side of
this, If I'm using the session command,
then I'm looking at controlling sessions,
either temp recessions or permanent until
I closed them down. These are normally
used when you need to run multiple
commands against the remote targets. So
instead of just connect, retrieve and
that's it. I maybe want to connect,
retrieve, then execute, then retrieve,
then execute, then retrieve. And then, of
course, there is faster performance for
execution of commands. Because you've
opened the session, we're not having to re
initialize a session every time we want to
grab information or do something because the session already exists