![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | request for help Below is a script that I am developing to pull all the computer objects out of the Computers OU loop thru them executing a wmi query to pull the Model of the computer. If i do this manually it works so I must have some logic issue lurking here that I just dont get. I am rather new a powershell.....scripting in general so be kind :-) Bill Add-PSSnapin Quest.ActiveRoles.ADManagement $comparray=get-QADComputer -SizeLimit 0 -SearchRoot 'ad.computername.com/sys/computers' | format-table name # $comparray=Get-Content c:\computers.txt foreach ($computer in $comparray){ $computer Get-WMIObject Win32_ComputerSystem -computername $computer } |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help Request for someone new! | Nostralls | Vista General | 13 | 07-19-2008 06:00 PM |
| Permission Request | David Crisp | Vista General | 1 | 04-07-2007 05:36 AM |
| Request 2 | deebs | Vista General | 2 | 10-05-2006 08:07 PM |
| Another Driver Request | =?Utf-8?B?QmlsbCBTZW1wZg==?= | Vista hardware & devices | 0 | 07-19-2006 06:16 AM |