Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - Get machine names from AD ??

Reply
 
Old 05-30-2008   #1 (permalink)
Steve Grosz


 
 

Get machine names from AD ??

Since this is my 2nd day working with Powershell, I have a question.

How can I get all the computer names on our domain from AD? I want to loop
over that list, pushing out a file to each desktop........

Thanks!



My System SpecsSystem Spec
Old 05-30-2008   #2 (permalink)
Marco Shaw [MVP]


 
 

Re: Get machine names from AD ??

Steve Grosz wrote:
Quote:

> Since this is my 2nd day working with Powershell, I have a question.
>
> How can I get all the computer names on our domain from AD? I want to loop
> over that list, pushing out a file to each desktop........
>
> Thanks!
>
>
Example:
http://www.microsoft.com/technet/scr...6/hey1109.mspx

If you want to make your life easier and can install 3rd party stuff,
the free Quest cmdlets are excellent for working with AD:
http://www.quest.com/powershell/activeroles-server.aspx

Marco

--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp

PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com
My System SpecsSystem Spec
Old 05-30-2008   #3 (permalink)
TimParker


 
 

Re: Get machine names from AD ??

Get the cmdlets from Quest at http://www.quest.com/powershell/

then once they are installed you can type in get-QADcomputer and it
will roll through AD and give you back the info.

Tim



On May 30, 10:00*am, "Steve Grosz" <boise_bo...@xxxxxx> wrote:
Quote:

> Since this is my 2nd day working with Powershell, I have a question.
>
> How can I get all the computer names on our domain from AD? *I want to loop
> over that list, pushing out a file to each desktop........
>
> Thanks!
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Unable to network 2 Vista machines using machine names Vista networking & sharing
How to ping machine names pulled from a datareader PowerShell
file names and folder names have been changed into some values automatically Vista file management
Vista networking with machine names.. Vista networking & sharing
Vista machine names in file sharing Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46