Authenticating to clients in different domains with different credentials

Hello,

  I'm having some trouble figuring out how to copy files from computers in multiple domains using credentials that exist in each of those domains.  Copying from the remote computer to my computer.

For example, here's some domains:

boston.massachusetts.USA.com

chicago.illinois.USA.com

lansing.michigan.USA.com

Each has their own computers and users.  I have a user ID in each of them that allows me access to the C$ share on the computers in that domain. 

I have a list of computers in the form of <hostname>.<domain>.  For example:

iloveboston.boston.massachusetts.USA.com

ilovechicago.chicago.illinois.USA.com

ilovemichigan.lansing.michigan.USA.com

I can also use a csv file that has the city, computer name. For example:

Short Domain     Computer

boston                iloveboston

chicago               ilovechicago

michigan             ilovemichigan

The problem is, how to tell which ID to use based on the domain the computer is in and how to specify that in the PS script.

April 17th, 2014 4:30pm

Hi Tom,

Please check this script to copy files across domain:

Powershell Copy Files Between Domains

I hope this helps.

Free Windows Admin Tool Kit Click here and download it now
April 18th, 2014 4:51am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics