You will likely have to have another script that slaps the output together into a single line per DC.
 
 
 
--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm 
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yann
Sent: Thursday, October 26, 2006 1:37 AM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] get information with wmic

Hello,
 
i was trying to use wmic to get these information from a list of DCs:
Name (oh DC), TotalPhysicalMemory,InitialSize of pagefile,  MaximumSize of pagefile on one line or in an excel file.
 
I use this
wmic PAGEFILESET list writeable that list the values of
InitialSize  MaximumSize  Name
 
wmic COMPUTERSYSTEM get name,TotalPhysicalMemory that list the values of
Name  TotalPhysicalMemory
 
But how to concatenate the 2 commands line in order to have on one line the values of:
Name  TotalPhysicalMemory InitialSize  MaximumSize  Name
 
Thanks for input,
 
Yann
 
 


Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.

Reply via email to