Μετάβαση στο κύριο περιεχόμενο
Υποστήριξη
Είσοδος με Microsoft
Είσοδος ή δημιουργία λογαριασμού.
Γεια σας,
Επιλέξτε διαφορετικό λογαριασμό.
Έχετε πολλούς λογαριασμούς
Επιλέξτε τον λογαριασμό με τον οποίο θέλετε να εισέλθετε.
Αγγλικά
Λυπούμαστε. Αυτό το άρθρο δεν είναι διαθέσιμο στη γλώσσα σας.

Summary

The versions of Windows that are listed at the beginning of this article include a command-line utility (Wmic.exe) to access Windows Management Instrumentation (WMI). Previously, an end user would generally write a script to gather information by means of WMI. Wmic.exe can only be used by the local system administrators regardless of WMI namespace permissions on the local machine.

More Information

When you run the Wmic.exe utility for the first time, the utility compiles its .mof files into the repository. To save time during Windows installation, this operation takes place as necessary.

At a command prompt, type: wmic, and an interactive-mode prompt "wmic:root\cli" is displayed. For help, type: /?.


Some examples of commands are:

  • process where (processid>300) list brief:

    This command requests the computer to list all the processes on specified computers where the ProcessID is greater than 300, and at the same time list only the minimum information on these processes.

  • /node:(computer1),(computer2),(computer3)

    This command requests the computer to add to the list of nodes from which you want to retrieve information. This command, however, is subject to all WMI security measures, such as, namespace security.

  • path win32_processor get maxclockspeed

    This command, provided that you know the WMI class, can specify an instance and retrieve properties or call on a defined method.

For additional information about WMI, see the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/aa394582.aspx

Χρειάζεστε περισσότερη βοήθεια;

Θέλετε περισσότερες επιλογές;

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Σας βοήθησαν αυτές οι πληροφορίες;

Τι επηρέασε την εμπειρία σας;
Πατώντας "Υποβολή" τα σχόλια σας θα χρησιμοποιηθούν για τη βελτίωση των προϊόντων και των υπηρεσιών της Microsoft. Ο διαχειριστής IT θα έχει τη δυνατότητα να συλλέξει αυτά τα δεδομένα. Δήλωση προστασίας προσωπικών δεδομένων.

Σας ευχαριστούμε για τα σχόλιά σας!

×