次の方法で共有


Start-HcsFirmwareCheck

Start-HcsFirmwareCheck

Checks whether a device needs a firmware update.

構文

Parameter Set: Default
Start-HcsFirmwareCheck [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

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.

パラメーター

-Force

ユーザーの確認を求めずにコマンドを強制的に実行します。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.HCS.Management.Patching.HcsFirmwareCheckResult

    The HcsFirmwareCheckResult object has the following properties:

    -- FirmwareStaus FirmwareStatus
    -- IEnumerable<String> MismatchComponents

    The FirmwareStaus enumeration has the following values:

    -- UpToDate
    -- SupportRequired
    -- MaintenanceModeUpdateRequired
    -- UpdateStarted
    -- UpdateRequired

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

関連トピック

Get-HcsFirmwareVersion