cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1725
Views
10
Helpful
2
Replies

Use UCS PowerTool to get the PID for a DIMM

tbrock3
Level 1
Level 1

The "Get-UcsMemoryUnit" command provides lots of information, but not the PID. I read somewhere that "Get-UcsCapability" is supposed to provide the PID for the associated ManagedObject but it does not appear to accept Cisco.Ucsm.MemoryUnit even though it is type Cisco.Ucsm.UcsmManagedObject.

Cisco.Ucsm.MemoryUnit contains plenty of properties including model, but no PID.

Can anyone direct me to the correct way to retrieve the PID for a DIMM?

 

   TypeName: Cisco.Ucsm.MemoryUnit

Name                MemberType Definition
----                ---------- ----------
AdminState          Property   string AdminState {get;set;}
Array               Property   uint16 Array {get;}
Bank                Property   uint16 Bank {get;}
Capacity            Property   string Capacity {get;}
Clock               Property   string Clock {get;}
Dn                  Property   string Dn {get;set;}
FormFactor          Property   string FormFactor {get;}
Id                  Property   uint32 Id {get;set;}
Latency             Property   string Latency {get;}
Location            Property   string Location {get;}
LocationDn          Property   string LocationDn {get;}
Model               Property   string Model {get;}
Operability         Property   string Operability {get;}
OperQualifier       Property   string OperQualifier {get;}
OperQualifierReason Property   string OperQualifierReason {get;}
OperState           Property   string OperState {get;}
Perf                Property   string Perf {get;}
Power               Property   string Power {get;}
Presence            Property   string Presence {get;}
Revision            Property   string Revision {get;}
Rn                  Property   string Rn {get;set;}
Sacl                Property   string Sacl {get;}
Serial              Property   string Serial {get;}
Set                 Property   byte Set {get;}
Speed               Property   string Speed {get;}
Status              Property   string Status {get;set;}
Thermal             Property   string Thermal {get;}
Type                Property   string Type {get;}
Ucs                 Property   string Ucs {get;}
Vendor              Property   string Vendor {get;}
Visibility          Property   string Visibility {get;}
Voltage             Property   string Voltage {get;}
Width               Property   string Width {get;}
XtraProperty        Property   System.Collections.Generic.Dictionary[string,string] XtraProperty {get;set;}

  

1 Accepted Solution

Accepted Solutions

tbrock3
Level 1
Level 1

For anyone who stumbles onto this, I have the fix. A very round about way to obtain the information, but it works nonetheless.

$UcsMemoryUnit = Get-UcsMemoryUnit -Ucs $Ucs -Dn $Dn
Get-UcsEquipmentMemoryUnitCapProvider -Ucs $UcsMemoryUnit.Ucs -Vendor $UcsMemoryUnit.Vendor -Model $UcsMemoryUnit.Model -Revision $UcsMemoryUnit.Revision | Get-UcsEquipmentManufacturingDefStorage

As long as Get-UcsEquipmentMemoryUnitCapProvider is passed a Vendor, Model, and Revision that has a match in the catalog and then piped to Get-UcsEquipmentManufacturingDefStorage, you'll get the desired output.

   TypeName: Cisco.Ucsm.EquipmentManufacturingDef

Name                MemberType Definition
----                ---------- ----------
Caption             Property   string Caption {get;}
Clei                Property   string Clei {get;}
Descr               Property   string Descr {get;set;}
Description         Property   string Description {get;}
Dn                  Property   string Dn {get;set;}
FruMajorType        Property   string FruMajorType {get;}
FruMinorType        Property   string FruMinorType {get;}
IsSecFwUpdate       Property   string IsSecFwUpdate {get;}
Name                Property   string Name {get;}
OemName             Property   string OemName {get;}
OemPartNumber       Property   string OemPartNumber {get;}
PartNumber          Property   string PartNumber {get;}
Pid                 Property   string Pid {get;}
PolicyLevel         Property   uint32 PolicyLevel {get;}
PolicyOwner         Property   string PolicyOwner {get;set;}
Rn                  Property   string Rn {get;set;}
Sacl                Property   string Sacl {get;}
Series              Property   string Series {get;}
Sku                 Property   string Sku {get;}
Status              Property   string Status {get;set;}
Ucs                 Property   string Ucs {get;}
VendorEquipmentType Property   string VendorEquipmentType {get;}
Vid                 Property   string Vid {get;}
XtraProperty        Property   System.Collections.Generic.Dictionary[string,string] XtraProperty {get;set;}

 

View solution in original post

2 Replies 2

tbrock3
Level 1
Level 1

For anyone who stumbles onto this, I have the fix. A very round about way to obtain the information, but it works nonetheless.

$UcsMemoryUnit = Get-UcsMemoryUnit -Ucs $Ucs -Dn $Dn
Get-UcsEquipmentMemoryUnitCapProvider -Ucs $UcsMemoryUnit.Ucs -Vendor $UcsMemoryUnit.Vendor -Model $UcsMemoryUnit.Model -Revision $UcsMemoryUnit.Revision | Get-UcsEquipmentManufacturingDefStorage

As long as Get-UcsEquipmentMemoryUnitCapProvider is passed a Vendor, Model, and Revision that has a match in the catalog and then piped to Get-UcsEquipmentManufacturingDefStorage, you'll get the desired output.

   TypeName: Cisco.Ucsm.EquipmentManufacturingDef

Name                MemberType Definition
----                ---------- ----------
Caption             Property   string Caption {get;}
Clei                Property   string Clei {get;}
Descr               Property   string Descr {get;set;}
Description         Property   string Description {get;}
Dn                  Property   string Dn {get;set;}
FruMajorType        Property   string FruMajorType {get;}
FruMinorType        Property   string FruMinorType {get;}
IsSecFwUpdate       Property   string IsSecFwUpdate {get;}
Name                Property   string Name {get;}
OemName             Property   string OemName {get;}
OemPartNumber       Property   string OemPartNumber {get;}
PartNumber          Property   string PartNumber {get;}
Pid                 Property   string Pid {get;}
PolicyLevel         Property   uint32 PolicyLevel {get;}
PolicyOwner         Property   string PolicyOwner {get;set;}
Rn                  Property   string Rn {get;set;}
Sacl                Property   string Sacl {get;}
Series              Property   string Series {get;}
Sku                 Property   string Sku {get;}
Status              Property   string Status {get;set;}
Ucs                 Property   string Ucs {get;}
VendorEquipmentType Property   string VendorEquipmentType {get;}
Vid                 Property   string Vid {get;}
XtraProperty        Property   System.Collections.Generic.Dictionary[string,string] XtraProperty {get;set;}

 

JDMils
Level 1
Level 1

Awesome!! Just what I was looking for. Thank you so much!!

Review Cisco Networking products for a $25 gift card