Get-HcsUpdateStatus
Gets the current status of updates.
Syntax
Get-HcsUpdateStatus []
Description
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.
Examples
Example 1: Get status of updates
PS C:\>Get-HcsUpdateStatus
This command gets the current status of updates on your device.
Outputs
Microsoft.HCS.Management.Patching.HcsUpdateStatus
The HcsUpdateStatus object has the following properties:
- RunInprogress
- DateTime LastHotfixTimestamp
- DateTime LastUpdateTimestamp
- IEnumerable<HcsUpdateEvent> Controller0Events
- IEnumerable<HcsUpdateEvent> Controller1Events
Related Links
Comentários
https://aka.ms/ContentUserFeedback.
Brevemente: Ao longo de 2024, vamos descontinuar progressivamente o GitHub Issues como mecanismo de feedback para conteúdos e substituí-lo por um novo sistema de feedback. Para obter mais informações, veja:Submeter e ver comentários