« DOS/Wmic » : différence entre les versions
Contenu supprimé Contenu ajouté
m 101 révisions importées depuis w:Windows_Management_Instrumentation |
Aucun résumé des modifications |
||
Ligne 1 :
{{feuille volante}}
'''Windows Management Instrumentation''' ('''WMI''') est l’implémentation de [[Microsoft]] du [[Web-Based Enterprise Management]] (WBEM), le standard du [[Distributed Management Task Force]] (DMTF). Il prend en charge le modèle de données CIM ([[Common Information Model]]), qui décrit les objets d'un environnement de gestion.▼
▲
==Qu'est-ce que WMI ?==
{{à traduire}}
▲'''WMIC''' (Windows Management Instrumentation Command-line) fournit une interface de ligne de commande dans l'Infrastructure de gestion Windows (WMI) qui permet de tirer parti de WMI pour gérer les ordinateurs. [[Windows PowerShell]] permet aussi d'utiliser simplement WMI depuis la ligne de commande.
WMI is the Microsoft implementation of the [[Common Information Model (computing)|Common Information Model]] ([[CIM]]) initiative developed by the [[Distributed Management Task Force]] (DMTF). The DMTF is an association of various computer and software companies (e.g. [[Novell]], Microsoft, [[Cisco]], [[HP]], etc.) developing standards in the Enterprise management space. (See http://www.dmtf.org for more information.) As large Enterprises have many computers with many software environments, managing these diverse environments can be a real challenge. In order to unify the management techniques for the sake of simplicity, the DMTF defined CIM to represent real-world manageable entities in a unified way. The CIM object model is an object data model using terms and semantic that is unique to all constructors and software developers. This object model is implemented in a database called the CIM repository, as visible in the figure below.
Ligne 85 ⟶ 82 :
** Execute every WMI operation asynchronously, synchronously or semi-asynchronously.
* The WMI command line tool (WMIC): WMIC is a command-line tool designed to ease WMI information retrieval about a system by using some simple keywords (aliases). WMIC.Exe is only available under Windows XP Professional and Windows Server 2003. It is not included in other Windows platforms. By typing “WMIC /?” from the command-line, you can obtain a complete list of the switches and reserved keywords available. By typing “WMIC switch-name /?”, you can gather more information about the switch usage.
* ''WBEMDUMP.Exe:'' WBEMDUMP is a tool delivered with the Platform SDK. This command line tool comes with its own Visual C++ project. Basically, the tool can show the CIM repository classes, instances, or both. It is possible to retrieve the same information as that retrieved with WMIC. WBEMDUMP.Exe requires more specific knowledge about WMI, as it doesn’t abstract WMI as WMIC. However, it runs under Windows NT 4.0 and Windows 2000. It is also possible to execute methods exposed by classes or instances. Even if it is not a standard WMI tool delivered with the system installation, this tool can be quite useful for exploring the CIM repository and WMI features.
== Comment vérifier que le WMI est bien opérationnel sur la machine ==
Ligne 117 ⟶ 97 :
== Réparation du WMI ==
* Lancer la réparation sous un compte administrateur.
* À la fin de la réparation du WMI, il vous faudra aussi procéder à la réparation du « System Center Configuration Manager » (SCCM, anciennement « agent SMS ») si par hasard il était présent sur votre système.
Ligne 187 ⟶ 166 :
Une fois que la dernière commande de réparation sera terminée, vous reviendrez au prompt. Vous devrez alors procéder à un '''reboot''' de la machine. C'est tout.
|