Get-HcsUpdateStatus
Get-HcsUpdateStatus
Gets the current status of updates.
Sintassi
Get-HcsUpdateStatus [ <CommonParameters>]
Descrizione dettagliata
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.
Parametri
<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.HcsUpdateStatus
The HcsUpdateStatus object has the following properties:
-- RunInprogress
-- DateTime LastHotfixTimestamp
-- DateTime LastUpdateTimestamp
-- IEnumerable<HcsUpdateEvent> Controller0Events
-- IEnumerable<HcsUpdateEvent> Controller1Events
Esempi
Example 1: Get status of updates
This command gets the current status of updates on your device.
PS C:\> Get-HcsUpdateStatus