Any way to bulk update FQDN info to sessions?

Any way to bulk update FQDN info to sessions?

avatar

Howdy,

We have a bunch of sessions setup that we did simply with the computer name. However, we'd like to update those to have the FQDN by adding our domain name to the end of each one.

Is there any way to do this to a bunch at once? Would basically be taking the name that's in there and adding "Company.com" to the end.

Thanks.

All Comments (5)

avatar

Hello,







use

$connection.URL = $Connection.URL + ".company.com"
$RDM.Save();
step 3: profit


EDIT : the forum keeps removing a semicolon at the end of the first line, it should be "...com"semicolon

Maurice

avatar

Perfect. Thanks.

avatar

Hi,

work fine for RDP connection. But I'm looking to add fqdn for a putty session for host field.

Whats is the variable?

avatar

See what I would like to do in the picture.

Remove IP and use the name of the entry and add fqdn

quvabisb4.jpg

avatar

I got it :)


$connection.host = $Connection.name + ".mydomain.com"
$RDM.Save();