« 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.
 
'''{{w|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.
WMI est un système de gestion interne de Windows qui prend en charge la surveillance et le contrôle de ressource système via un ensemble d’interfaces. Il fournit un modèle cohérent et organisé logiquement des états de Windows.
 
'''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.
Il permet à des scripts [[Windows Scripting Host|WSH]] (par exemple [[VBScript]]) de gérer [[Microsoft Windows|Windows]] localement ou à distance. C'est grâce à WMI que le composant ''Propriétés système'' de Windows peut afficher les propriétés du système sur un ordinateur distant ou local.
 
==Qu'est-ce que WMI ?==
WMI est préinstallé sur [[Windows Me]], [[Windows 2000]], [[Windows XP]], [[Microsoft Windows Vista|Windows Vista]], [[Microsoft Windows 7|Windows 7]], [[Windows 8]], [[Windows 10]], [[Windows Server 2003]], [[Windows Server 2008]], [[Windows Server 2012]].
{{à 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.
 
<!--==What is WMI?==
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.-->
 
== Articles connexes ==
* [[Windows PowerShell]]
*[[System Center Configuration Manager|System Center Configuration Manager (SCCM)]]
 
== Liens externes ==
*[http://technet.microsoft.com/fr-fr/library/bb742445.aspx WMI] sur le site de Microsoft
*[http://www.eleves.ens.fr/wintuteurs/advanced/scripting.html Tutoriel sur les scripts Windows], avec exemple d'utilisation de [[WMI]]
*[http://www.hsc.fr/ressources/breves/WMI.html.fr Présentation, exemples et sécurité de WMI]
 
== En anglais ==
*[http://support.microsoft.com Base de connaissances du support Microsoft]
*[http://msdn.microsoft.com/en-us/library/aa394582(loband).aspx WMI sur MSDN]
 
== Logiciels exploitant WMI ==
*wbemtest.exe [http://technet.microsoft.com/en-us/library/cc180684.aspx référence]
*[http://www.toocharger.com/fiches/logiciels/i-remote/38296.htm I-Remote]
 
== Comment vérifier que le WMI est bien opérationnel sur la machine ==
Ligne 117 ⟶ 97 :
 
== Réparation du WMI ==
{{pour Wikibooks}}
* 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.
 
{{portail|[[Catégorie:Microsoft|informatique}} Windows]]
 
[[Catégorie:Composant Windows]]