Get-HcsUpdateAvailability
Scans for updates.
Syntax
Get-HcsUpdateAvailability
[-UpdateId <String>]
[<CommonParameters>]
Description
The Get-HcsUpdateAvailability cmdlet scans for updates. The cmdlet tells you which updates are maintenance mode updates and which are normal updates. A maintenance mode update requires maintenance mode.
Examples
Example 1: Check for updates
PS C:\>Get-HcsUpdateAvailability
This command checks for available updates for your device.
Parameters
-UpdateId
Specifies an update ID.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Microsoft.HCS.Management.Patching.HCSUpdateSearchResults
The HCSUpdateSearchResults object has the following properties:
- RegularUpdates
- MaintenanceModeUpdates
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för