Get-HcsUpdateStatus

Get-HcsUpdateStatus

Gets the current status of updates.

Sintaxis

Get-HcsUpdateStatus [ <CommonParameters>]

Descripción detallada

The Get-HcsUpdateStatus cmdlet gets the current status of updates. The cmdlet provides the timestamp of the last update, indicates whether any updates are in progress, and provides any errors that occurred after the last successful update.

Parámetros

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • Microsoft.HCS.Management.Patching.HcsUpdateStatus

    The HcsUpdateStatus object has the following properties:

    -- RunInprogress
    -- DateTime LastHotfixTimestamp
    -- DateTime LastUpdateTimestamp
    -- IEnumerable<HcsUpdateEvent> Controller0Events
    -- IEnumerable<HcsUpdateEvent> Controller1Events

Ejemplos

Example 1: Get status of updates

This command gets the current status of updates on your device.

PS C:\> Get-HcsUpdateStatus

Temas relacionados

Get-HcsUpdateAvailability

Start-HcsUpdate

Start-HcsHotfix