These tools are no longer actively maintained.  These scripts may only work with previous versions of iDRAC/LC or they may not address new functionality in the most recent releases of iDRAC/LC firmware or new PowerEdge Server platforms.

psDcim is a collection of PowerShell cmdlets that retrieves and operates on systems management data through the Remote Services API on a server system equipped with Lifecycle Controller in iDRAC. The Remote Services API is based on DMTF Web Services for Management (WS-MAN) protocol.

License: Modified BSD License

Examples

Create credential file within powershell. Popup menu will appear to enter name and password.

PS C:\psDcim> . .\DcimModule-Helper.ps1
PS C:\psDcim> Dcutil-ExportCredential mycred.xml

   

 

Getting system model from command line using cmdlet

C:\psDcim>powershell .\dcim-getmodel.ps1 root 192.168.0.150
R710

   

 

Getting system model within powershell using cmdlet

PS C:\psDcim> .\dcim-getmode.ps1 root 192.168.0.150
R710

   

 

Getting system model within powershell using cmdlet module (first line imports the module)

PS C:\psDcim> .  .\DcimModule-SystemInfo.ps1
PS C:\psDcim> $mysess = Dcim-NewSession root 192.168.0.150
PS C:\psDcim> Dcim-GetModel $mysess
R710

 

 

 

Getting system model within powershell using cmdlet module and credential file (first line imports the module)

PS C:\psDcim> .  .\DcimModule-SystemInfo.ps1
PS C:\psDcim> $mysess = Dcim-NewSession mycred.xml 192.168.0.150
PS C:\psDcim> Dcim-GetModel $mysess
R710
PS C:\psDcim> $mysess = Dcim-NewSession mycred.xml 192.168.0.151
PS C:\psDcim> Dcim-GetModel $mysess
M610

 

 

 

 

 

Downloads

psDcim for System Info profile - contains "getmodel"