< Back

Update-StorageFirmware

Wed Jan 30, 2019 6:04 pm

NAME Update-StorageFirmware



SYNOPSIS

Updates the firmware on a storage device.





SYNTAX

Update-StorageFirmware [-FriendlyName] <String> [-CimSession <CimSession>] [-ImagePath <String>] [-SlotNumber <UInt16>] [-ThrottleLimit <Int32>]

[<CommonParameters>]



Update-StorageFirmware [-CimSession <CimSession>] [-ImagePath <String>] [-SlotNumber <UInt16>] [-ThrottleLimit <Int32>] -UniqueId <String>

[<CommonParameters>]



Update-StorageFirmware [-CimSession <CimSession>] [-ImagePath <String>] [-SlotNumber <UInt16>] [-ThrottleLimit <Int32>] [<CommonParameters>]





DESCRIPTION

The Update-StorageFirmware cmdlet updates the firmware on a storage device with the specified firmware image.



You can also use Update-StorageFirmware to load firmware that is already on the device but in a non-active slot. The update operation consists of a

download step and an activation step that are both performed by this cmdlet.





PARAMETERS

-CimSession [<CimSession>]





Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-FriendlyName <String>





Required? true

Position? 1

Default value none

Accept pipeline input? true(ByValue)

Accept wildcard characters? false



-ImagePath [<String>]





Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-SlotNumber [<UInt16>]





Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-ThrottleLimit [<Int32>]





Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-UniqueId <String>

Specifies an array of IDs, as strings.



Required? true

Position? named

Default value none

Accept pipeline input? true(ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS











OUTPUTS

String



This cmdlet returns extended status error information as a String from the storage provider.





NOTES





This cmdlet currently operates on physical disks only.



Example 1: Update a physical disk



PS C:\\>Get-PhysicalDisk -FriendlyName "PhysicalDisk0" | Update-StorageFirmware -ImagePath "C:\\Users\\Contoso\\Desktop\\Image.bin" -SlotNumber 0



This command uses the Get-PhysicalDisk cmdlet to get a physical disk, and then uses the pipeline operator to pass the disk to Update-StorageFirmware,

which updates the physical disk with the firmware in Image.bin.





Example 2: Activate a firmware image in a different slot



PS C:\\>Get-PhysicalDisk -FriendlyName "PhysicalDisk1" | Update-StorageFirmware -SlotNumber 2



This command uses the Get-PhysicalDisk cmdlet to get a physical disk, and then uses the pipeline operator to pass the disk to Update-StorageFirmware,

which activates the firmware in slot 2.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=816503

Get-StorageFirmwareInformation