Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Obtain PAM card serial number using Get-NaFlashDevice
2012-10-08
09:17 AM
3,556 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anyone know how to get the serial number of a PAM card from Powershell? I've seen the cmdlet Get-NaFlashDevice and the help shows:
C:\PS>Get-NaFlashDevice
Gets a list of all the flash devices installed on the current controller.
AverageEraseCycleCount : 21
Capacity : 274877906944
FirmwareRevision : 1:6
LastChangeTime : 0
LastChangeTimeDT :
ModelName : X1937A-R5
PartNumber : 111-00660
PercentOnline : 100
SerialNumber : 5000009783
ServiceTime : 11344
ServiceTimeTS : 472.16:00:00
SlotNumber : 2
Status : online
ThresholdProfile : default
but when I run Get-NaFlashDevice it gives me tabular output without the serial number:
PS C:\> Get-NaFlashDevice
SlotNumber ModelName FirmwareRevision Status Capacity PercentOnline ServiceTimeTS
---------- --------- ---------------- ------ -------- ------------- -------------
13 X1971A-R5 2:2 online 512 GB 100% 101.17:00:00
Have I missed a switch?
Solved! See The Solution
1 ACCEPTED SOLUTION
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Martin. It's probably still there, but we could only fit so much in the tabular view on a 120-character window.
Try Get-NaFlashDevice | Format-List * to see everything.
2 REPLIES 2
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Martin. It's probably still there, but we could only fit so much in the tabular view on a 120-character window.
Try Get-NaFlashDevice | Format-List * to see everything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Clinton,
Spot on, a Powershell newbie, that does exactly what I needed.
Thanks for the quick reply.
Martin
