Or use Powershell and get-wmiobject?
On Tue, Jun 18, 2013 at 4:57 PM, <[email protected]> wrote: > Erm, pipe them both to the same file? > > I.E. Command >>c:\file.txt > > > Sent from my Blackberry, which may be an antique but delivers email > RELIABLY > ------------------------------ > *From: * J- P <[email protected]> > *Sender: * [email protected] > *Date: *Tue, 18 Jun 2013 16:48:36 -0400 > *To: *[email protected]<[email protected]> > *ReplyTo: * [email protected] > *Subject: *[NTSysADM] running multiple wmic commands on a batch > > Hi all, > > As way to quickly retrieve computer serial numbers I have a batch file on > the server that contains this command ; > > start cmd.exe /k wmiC bios get serialnumber > > I want to also add the ability to get the computer name which I can get by > running this > > wmic computersystem get name > > what I can't figure out is how to put them both into a single file so that > the user can get the name and serial number > > > any thoughts would be appreciated > > > thanks >

