Users Guide
string SystemVendor;
[SMS_Report(TRUE), read: ToInstance ToSubClass]
string SystemDescription;
[SMS_Report(TRUE), read: ToInstance ToSubClass]
string ProcessorType;
[SMS_Report(TRUE), read: ToInstance ToSubClass]
sint32 ProcessorSpeed;
[SMS_Report(TRUE), read: ToInstance ToSubClass]
string BIOSVersion;
[SMS_Report(TRUE), read: ToInstance ToSubClass]
datetime BIOSDate;
[SMS_Report(TRUE), read: ToInstance ToSubClass, key]
string ServiceTag;
[SMS_Report(TRUE), read: ToInstance ToSubClass, write: ToInstance ToSubClass]
string AssetTag;
};
#pragma namespace ("\\\\.\\Root\\cimv2")
//*************************************************************
//*** Registers Framework Provider (Register-Framework-Anbieter) ***
//*************************************************************
instance of __Win32Provider as $Q
{
Name = "DellWMI";
ClsId = "{a29197b6-5c8d-4278-ae20-e5c14aed1280}";
};
instance of __InstanceProviderRegistration
{
Provider = $Q;
SupportsGet = TRUE;
SupportsPut = TRUE;
SupportsDelete = TRUE;
SupportsEnumeration = TRUE;
QuerySupportLevels = {"WQL:UnarySelect"};
};
instance of __MethodProviderRegistration
{
Provider = $Q;
};
[Dynamic, Provider ("DellWMI")]
class Dell_System_Summary
{
[read, key] uint32 DellInstanceID;
[read, write] string AssetTag;
[read] datetime BIOSDate;
[read] sint32 ProcessorSpeed;
[read] string BiosVersion;
[read] string ProcessorType;
[read] string ServiceTag;
[read] string SystemDescription;
[read] string SystemVendor;
};
WMI-Skripte
WMI stellt eine Skript-SchnittstellezurVerfügung.UnterVerwendungvonVBScriptoderJScriptkönnenSkripteverfasstwerden,dieeineVerbindunglokaloder
im Fernzugriff zu WMI-Dienstenherstellen,InformationenbeziehenoderMethodenausführen.DaOMCIüberWMIimplementiertwird,könnenfürdiemeisten
OMCI-TasksSkripteverfasstwerden.DieserAbschnittenthältBeispielskriptevonVBScript,dienurzurAnschauungdienen.
DiefolgendenTextdateienenthaltenBeispielskripte.UmeinesderSkripteauszuführen,speichernSiedasSkriptmitderErweiterung.vbs. An der
Eingabeaufforderung geben Sie cscript.exe //nologo <Skriptname> ein und dann die entsprechenden Parameter. Wenn keine Parameter angegeben
werden, wird die Verwendung des Skripts ausgedruckt.
l Remote-System-Herunterfahren
l Remote-System-Neustart
l Remote-BIOS-Aktualisierung
l PXE-StartbeimnächstenNeustartaktivieren
l Wake On LAN aktivieren
l Service-Tag-Nummer, Systemkennnummer und BIOS-Revision abrufen
l BIOS-Kennwortändern
ZurückzumInhaltsverzeichnis
ANMERKUNG: Um eine Remote-Verbindung zu den WMI-Dienstenherzustellen,müssenSieüberAdministratorenrechtefürdaslokaleSystemundfür
das Remote-Systemverfügen.
ANMERKUNG: Die Beispielskripte dienen nur zur Anschauung und wurden weder getestet, noch gibt Dell eine Garantieleistung; Dell lehnt jeglichen
Schadensersatzanspruchdiesbezüglichab.DellbietetkeinenTechnischenSupportbezüglichsolcherSkriptean.WeitereInformationenüberWMI-
Skripte finden Sie in der entsprechenden Microsoft-Dokumentation.










