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  ; 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