Get-HcsUpdateStatus
Get-HcsUpdateStatus
Gets the current status of updates.
Sintaxe
Get-HcsUpdateStatus [ <CommonParameters>]
Descrição detalhada
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>
Esse cmdlet dá suporte a parâmetros comuns: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Para obter mais informações, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
O tipo de entrada é o tipo dos objetos que você pode canalizar para o cmdlet.
Saídas
O tipo de saída é o tipo de objeto emitido pelo cmdlet.
Microsoft.HCS.Management.Patching.HcsUpdateStatus
The HcsUpdateStatus object has the following properties:
-- RunInprogress
-- DateTime LastHotfixTimestamp
-- DateTime LastUpdateTimestamp
-- IEnumerable<HcsUpdateEvent> Controller0Events
-- IEnumerable<HcsUpdateEvent> Controller1Events
Exemplos
Example 1: Get status of updates
This command gets the current status of updates on your device.
PS C:\> Get-HcsUpdateStatus