Dell iDRAC8 Universal Remote User Manual


 
The classes can be accessed using any of the standard WMI client interfaces. For more information, see
the profile documents.
The following example is using the DCIM_account class to illustrate the capability that WMI information
feature provides in iDRAC Service Module. For the details of the supported classes and profiles, see the
WSMAN profiles documentation available at Dell Tech Center.
CIM Interface WinRM WMIC PowerShell
Enumerate instances of
a class
winrm e wmi/root/
cimv2/dcim/
dcim_account
wmic /namespace:\
\root\cimv2\dcim
PATH dcim_account
Get-WmiObject
dcim_account -
namespace root/
cimv2/dcim
Get a specific instance
of a class
winrm g wmi/root/
cimv2/dcim/
DCIM_Account?
CreationClassName=
DCIM_Account
+Name=iDRAC.Embedd
ed.1#Users.
2+SystemCreationCl
assName=DCIM_SPCom
puterSystem
+SystemName=system
mc
wmic /namespace:\
\root\cimv2\dcim
PATH dcim_account
where
Name="iDRAC.Embedd
ed.1#Users.16"
Get-WmiObject -
Namespace root
\cimv2\dcim -
Class
dcim_account -
filter
"Name='iDRAC.Embed
ded.1#Users.16'"
Get associated
instances of an instance
winrm e wmi/root/
cimv2/dcim/* -
dialect:associatio
n -filter:
{object=DCIM_Accou
nt?
CreationClassName=
DCIM_Account
+Name=iDRAC.Embedd
ed.1#Users.
1+SystemCreationCl
assName=DCIM_SPCom
puterSystem
+SystemName=system
mc}
wmic /namespace:\
\root\cimv2\dcim
PATH dcim_account
where
Name='iDRAC.Embedd
ed.1#Users.2'
ASSOC
Get-Wmiobject -
Query "ASSOCIATORS
OF
{DCIM_Account.Crea
tionClassName='DCI
M_Account',Name='i
DRAC.Embedded.
1#Users.
2',SystemCreationC
lassName='DCIM_SPC
omputerSystem',Sys
temName='systemmc'
}" -namespace
root/cimv2/dcim
Get references of an
instance
winrm e wmi/root/
cimv2/dcim/* -
dialect:associatio
n –associations -
filter:
{object=DCIM_Accou
nt?
CreationClassName=
DCIM_Account
+Name=iDRAC.Embedd
ed.1#Users.
1+SystemCreationCl
assName=DCIM_SPCom
puterSystem
+SystemName=system
mc}
Not applicable
Get-Wmiobject -
Query
"REFERENCES OF
{DCIM_Account.Crea
tionClassName='DCI
M_Account',Name='i
DRAC.Embedded.
1#Users.
2',SystemCreationC
lassName='DCIM_SPC
omputerSystem',Sys
temName='systemmc'
}" -namespace
root/cimv2/dcim
294