Start-HcsFirmwareCheck
Start-HcsFirmwareCheck
Checks whether a device needs a firmware update.
Sintassi
Parameter Set: Default
Start-HcsFirmwareCheck [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
Descrizione dettagliata
The Start-HcsFirmwareCheck cmdlet checks whether a device needs a firmware update. The cmdlet automatically updates any firmware that it can update to the latest known firmware. This cmdlet lists all firmware that it cannot update. Contact Microsoft Customer Service and Support about any firmware that this cmdlet cannot update.
This cmdlet runs automatically as a scheduled task on the active controller once a day, but you can also run the cmdlet on an as-needed basis.
Parametri
-Force
Forza l'esecuzione del comando senza chiedere conferma all'utente.
Alias |
nessuno |
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
nessuno |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-Confirm
Richiede conferma prima di eseguire il cmdlet.
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
False |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-WhatIf
Mostra gli effetti dell'esecuzione del cmdlet. Il cmdlet non viene eseguito.
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
False |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
<CommonParameters>
Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Input
Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.
Output
Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.
Microsoft.HCS.Management.Patching.HcsFirmwareCheckResult
The HcsFirmwareCheckResult object has the following properties:
-- FirmwareStaus FirmwareStatus
-- IEnumerable<String> MismatchComponentsThe FirmwareStaus enumeration has the following values:
-- UpToDate
-- SupportRequired
-- MaintenanceModeUpdateRequired
-- UpdateStarted
-- UpdateRequired
Esempi
Example 1: Start a firmware check
This command checks the firmware version of a device. The firmware on this device is up to date.
PS C:\> Start-HcsFirmwareCheck
Example 2: Update firmware
This command checks the firmware version of a device. The firmware on this device is not up to date. This command does not specify the Force parameter, and, therefore, the cmdlet prompts you for confirmation before it updates the firmware.
PS C:\> Start-HcsFirmwareCheck
Example 3: Check for firmware updates that require support
This command checks the firmware version of a device. The firmware on this device is not up to date. The cmdlet cannot update some firmware for this device. Contact Customer Service and Support in order to update this item.
PS C:\> Start-HcsFirmwareCheck