Run WMIC command across network
        Posted  
        
            by 
                C-dizzle
            
        on Super User
        
        See other posts from Super User
        
            or by C-dizzle
        
        
        
        Published on 2012-10-12T14:53:21Z
        Indexed on 
            2012/10/12
            15:40 UTC
        
        
        Read the original article
        Hit count: 322
        
command-line
|wmic
Instead of typing this in a command prompt one at a time:
wmic /node:ipaddress /user:administrator /password:mypassword bios get serialnumber
How can I run that against one entire subnet and output to a text document? Since I do this every couple months to verify our inventory of computers, I would assume there would be a much of easier way I could put this in a batch script instead of doing it manually.
© Super User or respective owner