external help file | Module Name | online version | schema |
---|---|---|---|
DellOpenManage-help.xml |
DellOpenManage |
2.0.0 |
Update firmware via DUP (EXE) on devices in OpenManage Enterprise
Update-OMEFirmwareDUP [[-Name] <String>] [-DupFile] <FileInfo> [[-Group] <Group>] [[-Device] <Device>]
[[-UpdateSchedule] <String>] [[-UpdateScheduleCron] <String>] [-ResetiDRAC] [-ClearJobQueue] [-Wait]
[[-WaitTime] <Int32>] [<CommonParameters>]
This will upload a DUP (EXE) file and submit a Job that updates firmware on a set of devices. If you encounter the error "An existing connection was forcibly closed by the remote host" close and reopen the PowerShell console. Not sure what is causing this.
"C86C0ZZ" | Get-OMEDevice | Update-OMEFirmwareDUP -UpdateSchedule "Preview" -DupFile "C:\Temp\Network_Firmware_DK4G2_WN64_20.0.17_A00.EXE"
Display device compliance report for device. No updates are installed by default.
"C86C0ZZ" | Get-OMEDevice | Update-OMEFirmwareDUP -UpdateSchedule "RebootNow" -DupFile "C:\Temp\Network_Firmware_DK4G2_WN64_20.0.17_A00.EXE" -Wait
Update firmware immediately and wait to job to complete ***Warning: This will force a reboot of all servers
"C86C0ZZ" | Get-OMEDevice | Update-OMEFirmwareDUP -UpdateSchedule "StageForNextReboot" -DupFile "C:\Temp\Network_Firmware_DK4G2_WN64_20.0.17_A00.EXE"
Update firmware on next reboot
"C86C0ZZ" | Get-OMEDevice | Update-OMEFirmwareDUP -UpdateSchedule "ScheduleLater" -UpdateScheduleCron "0 0 0 1 11 ?" -DupFile "C:\Temp\Network_Firmware_DK4G2_WN64_20.0.17_A00.EXE"
Update firmware on 11/1/2020 12:00AM UTC
"C86C0ZZ" | Get-OMEDevice | Update-OMEFirmwareDUP -UpdateSchedule "StageForNextReboot" -ClearJobQueue -DupFile "C:\Temp\Network_Firmware_DK4G2_WN64_20.0.17_A00.EXE"
Update firmware on next reboot and clear job queue before update
"TestGroup" | Get-OMEGroup | Update-OMEFirmwareDUP -UpdateSchedule "RebootNow" -DupFile "C:\Temp\Network_Firmware_DK4G2_WN64_20.0.17_A00.EXE"
Update firmware on all devices in group immediately ***Warning: This will force a reboot of all servers
Name of the firmware update job
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: "Update Firmware With DUP $((Get-Date).ToString('yyyyMMddHHmmss'))"
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill DupFile Description }}
Type: FileInfo
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Array of type Group returned from Get-OMEGroup function. Used to determine what groups to update.
Type: Group
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Array of type Device returned from Get-OMEDevice function. Used to determine what devices to update.
Type: Device
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Determines when the updates will be performed. (Default="Preview", "RebootNow", "ScheduleLater", "StageForNextReboot")
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: Preview
Accept pipeline input: False
Accept wildcard characters: False
Cron string to schedule updates at a later time. Uses UTC time. Used with -UpdateSchedule "ScheduleLater"
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This option will restart the iDRAC. Occurs immediately, regardless if StageForNextReboot is set
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
This option clears any active or pending jobs. Occurs immediately, regardless if StageForNextReboot is set
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Wait for job to complete
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Time, in seconds, to wait for the job to complete
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: 3600
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.