powershell command to get serial numbers and model

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2017 07:35 AM - edited 03-01-2019 01:19 PM
can someone help on this?
need to get the model # and serial on my blade servers
- Labels:
-
Other Unified Computing System

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2017 09:08 AM - edited 10-17-2017 09:09 AM
If you know how to do it with UCSM, it's easy
First install the UCS PowerTools and Connect to your UCS with the same user you connect to the UCS Manager.
After that run the cmdlet:
1
|
Convertto-UCSCmdlet
|
And issue the UCS Manager command to show serial number

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2017 09:58 AM
I was able to get this workimng
get-ucsserver | select UCS,DN,Model,Serial
how do I get the service profile to ucsserver mapping?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2017 11:16 AM
You select the proper service profile, and if is associated, you will see which blade it is.
You have to enter this sequence of UCSM commands, and finally get the sequence of necessary powershell commands
