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

winrm e wmi/root/

wmic /namespace:\

Get-WmiObject

a class

cimv2/dcim/

 

\root\cimv2\dcim

dcim_account -

 

dcim_account

 

PATH dcim_account

namespace root/

 

 

 

 

cimv2/dcim

Get a specific instance

winrm g wmi/root/

wmic /namespace:\

Get-WmiObject -

of a class

cimv2/dcim/

 

\root\cimv2\dcim

Namespace root

 

DCIM_Account?

 

PATH dcim_account

\cimv2\dcim -

 

CreationClassName=

where

Class

 

DCIM_Account

 

Name="iDRAC.Embedd

dcim_account -

 

+Name=iDRAC.Embedd

ed.1#Users.16"

filter

 

ed.1#Users.

 

 

"Name='iDRAC.Embed

 

2+SystemCreationCl

 

ded.1#Users.16'"

 

assName=DCIM_SPCom

 

 

 

puterSystem

 

 

 

 

+SystemName=system

 

 

 

mc

 

 

 

Get associated

winrm e wmi/root/

wmic /namespace:\

Get-Wmiobject -

instances of an instance

cimv2/dcim/*

-

\root\cimv2\dcim

Query "ASSOCIATORS

 

dialect:associatio

PATH dcim_account

OF

 

n -filter:

 

where

{DCIM_Account.Crea

 

{object=DCIM_Accou

Name='iDRAC.Embedd

tionClassName='DCI

 

nt?

 

M_Account',Name='i

 

CreationClassName=

ed.1#Users.2'

DRAC.Embedded.

 

DCIM_Account

 

ASSOC

1#Users.

 

+Name=iDRAC.Embedd

 

2',SystemCreationC

 

ed.1#Users.

 

 

lassName='DCIM_SPC

 

1+SystemCreationCl

 

omputerSystem',Sys

 

assName=DCIM_SPCom

 

temName='systemmc'

 

puterSystem

 

 

}" -namespace

 

+SystemName=system

 

root/cimv2/dcim

 

mc}

 

 

 

Get references of an

winrm e wmi/root/

Not applicable

Get-Wmiobject -

instance

cimv2/dcim/*

-

 

Query

 

dialect:associatio

 

"REFERENCES OF

 

n –associations -

 

{DCIM_Account.Crea

 

filter:

 

 

tionClassName='DCI

 

{object=DCIM_Accou

 

M_Account',Name='i

 

nt?

 

 

DRAC.Embedded.

 

CreationClassName=

 

1#Users.

 

DCIM_Account

 

 

2',SystemCreationC

 

+Name=iDRAC.Embedd

 

lassName='DCIM_SPC

 

ed.1#Users.

 

 

omputerSystem',Sys

 

1+SystemCreationCl

 

temName='systemmc'

 

assName=DCIM_SPCom

 

}" -namespace

 

puterSystem

 

 

root/cimv2/dcim

 

+SystemName=system

 

 

 

mc}

 

 

 

294

Page 294
Image 294
Dell iDRAC8 manual Winrm e wmi/root Wmic /namespace\ Get-WmiObject, Winrm g wmi/root Wmic /namespace\ Get-WmiObject, #Users