Thursday, November 27, 2008

ADMT - Powershell test Script

Hi out there, I've been working on doing a Active Directory migration. One of the things I discovered was that many of the workstations in the environment had domain connectivity issues. Varying from file and print sharing being disabled, applications that don't allow the ADMT application to access the machine remotely to migrate it. It also gets a list of the users who have logged into the machine, which helps when you are trying to migrate users and groups, and need to figure out where they are. The script gets a list of computers from AD ( which can be limited to a OU, or to a certain number of computers) And then provides the following info from each machine and dumps into excel. RPC accessibility, Ping result, C$ share, Machine Name, Username, and Filesystem. When you save the file make sure you save it as a text file with the .ps1 file. ADMT-comp-user-info.ps1

No comments:

Post a Comment