Users Guide

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")
//*************************************************************
//*** Enregistre le fournisseur d'infrastructure ***
//*************************************************************
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;
};
Scripts WMI
WMIfournituneinterfacedecréationdescripts.Àl'aidedeVBScriptoudeJScript,vouspouvezécriredesscriptsquiseconnectentauxservicesWMI
localementouàdistance,quirécupèrentdesinformationsouexécutentdesméthodes.CommeOMCIestimplémentéviaWMI,laplupartdestâchesOMCI
peuventêtrecryptées.CettesectionfournitdesexemplesdescriptsVBScript,àtitred'exempleseulement.
Lesfichierstextesuivantscontiennentdesexemplesdescripts.Pourexécuterl'undecesscripts,enregistrezlescriptavecuneextension.vbs.Àl'invitede
commande, tapez cscript.exe //nologo <nom du script>etlesparamètresappropriés.Sivousnespécifiezaucunparamètre,lefichierserasimplement
imprimé.
l Effacerl'étatdel'intrusiondanslechâssis
l DésactiverlesmessagessurleBureaupourtouteslesalertes
l Arrêtdesystèmesàdistance
l Redémarragedesystèmesàdistance
l MiseàjouràdistanceduBIOS
l Activationdel'amorçagePXEauprochainredémarrage
l ActivationduréveilsurLAN
l Récupérationdunumérodeservice,dunumérod'inventaireetdelarévisionduBIOS
l Changement du mot de passe du BIOS
Retouràlapagedusommaire
REMARQUE : PourvousconnecteràdistanceauxservicesWMI,vousdevezposséderdesdroitsd'administrateurpourlessystèmeslocauxetdistants.