Powerful WMIC command-line tools under Windows

Source: Internet
Author: User

The most popular thing about Windows network management is that the command line is not as powerful as UNIX and Linux. But the situation is changing, and the Windows command line is getting stronger. One example is the WMI that Microsoft is devoting a lot of effort to creating.   Get process ID with process name code:  WMIC process get processid,name   remote Create processes   code:  wmic/node:109.254 .2.102/user: "Rdgad\administrator"/password: "Dream come true" process call Create Commandline= "cmd.exe/k echo Xxxxx|clip.exe" & nbsp;  Get CPU name, number of bits, serial number   code:  WMIC CPU get name,addresswidth,processorid   Get physical Memory   code: &N  Bsp WMIC memlogical get totalphysicalmemory   get branded machine serial number   code:  WMIC csproduct get identifyingnumber&nbsp ;  Join domain   code:  wmic ComputerSystem where name= "%computername%" Call JoinDomainOrWorkgroup name= "WWW.MXCZ.N ET "username=" Rdgad\adddomain "password=" Mxcz "Fjoinoptions=1 accountou=null   get the total capacity of the hard disk   code:  WMI C DiskDrive get deviceid,size   start a service   code:  WMIC Service where caption= ' TELNET ' call STARTSERVICE&N bsp;  Kill a process   code:  WMIC processes where NamE= ' calc.exe ' delete      Get CPU usage percent      code:      wmic Path Win32 _perfformatteddata_perfproc_process get name,percentprocessortime        WMIC CPU get loadpercentage  ....................................................  more specific help type WMIC/? Queries at the command line.

Powerful WMIC command-line tools under Windows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.