05-11-2021 12:56 PM - edited 05-11-2021 12:58 PM
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;}
Solved! Go to Solution.
05-17-2021 06:33 PM - edited 05-17-2021 06:50 PM
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;}
05-17-2021 06:33 PM - edited 05-17-2021 06:50 PM
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;}
02-14-2023 11:37 PM
Awesome!! Just what I was looking for. Thank you so much!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide