THANK YOU, it was the "&&" I couldn't figure out thanks
Jean-Paul Natola To: [email protected] Subject: Re: [NTSysADM] running multiple wmic commands on a batch From: [email protected] Date: Tue, 18 Jun 2013 17:04:11 -0400 How about this? wmic computersystem get name && wmic bios get serialnumber Christopher Bodnar Enterprise Architect I, Corporate Office of Technology:Enterprise Architecture and Engineering Services Tel 610-807-6459 3900 Burgess Place, Bethlehem, PA 18017 [email protected] The Guardian Life Insurance Company of America www.guardianlife.com From: J- P <[email protected]> To: "[email protected]" <[email protected]> Date: 06/18/2013 04:53 PM Subject: [NTSysADM] running multiple wmic commands on a batch Sent by: [email protected] 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 ----------------------------------------- This message, and any attachments to it, may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are notified that any use, dissemination, distribution, copying, or communication of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and delete the message and any attachments. Thank you.
<<inline: ATT00001>>

