[Autogenerated] Okay, So now that we've
understood the basic commands, how do we
connect to remote computers? Well,
firstly, we have the get sim instantiate.
This will create a temporary session to
the machine that we have specified in the
computer name. The other option is where
we actually create a new SIM session. So
we choose to create the session by name by
computer name. Both will do the same
things except the Sim. Instantiate one is
temporary and is closed at the end. A sim
session. You have to kind of clothes that
yourself now to create a remote session.
If we were to create a temp recession, you
can see that we can populate the computer.
So on my computer names called trainer
I can say gets him instantiate pass that
variable and then tell it the name space
and the class name that I'm trying to
connect to. So in this instance, I'm
trying to retrieve the terminal services
remote desktop service settings on the
machine. But this will create the session.
Go and get the data on return. The data
all as part of that connection. The other
option is obviously creating Emmanuel Sim
session and then closing it. So this time
we specify the computer name, I give the
session a name. Then I use new SIM
session. Specify the name, specify the
computer name. Then I could actually do
and retrieve the values. And then you can
see that I'm closing that by using remove
sim session two different ways of doing
the same thing. It really depends what you're trying to executable retrieve back.