The Deployment Bunny

OS Deployment, Virtualization, Microsoft based Infrastructure…

  • Archives

  • Meta

Working in the Datacenter – Get the Serial number on the SSD drives from Seagate and check for firmware upgrades using PowerShell

Posted by Mikael Nystrom on March 9, 2016

So, I’m currently working with a customer (you know who you are) implementing Storage Spaces and one of the things i do before we put everything in production is to check if there is new firmware for the disks (both SSDs and HDDs) and that is easy using PowerShell, you just run Get-Physicaldisk

But the serial number that I got was not correct according to the Seagate webpage, hmm, well it turns out that the “real” serial number on Seagate drives are just the first 8 characters. So with a simple filter the problem is solved.

$disks = Get-PhysicalDisk
$SSDs = $disks | Where-Object -Property MediaType -EQ -Value SSD

foreach($disk in $SSDs){
    $SerialNumber = $($disk.SerialNumber).substring(0,8)
    $Model = $disk.Model
    Write-Host "$SerialNumber,$Model"

With this I can now copy and paste that directly in the firmware search page, like this:

Here is the link for checking Seagate Firmware btw:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: