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