Editar

Partilhar via


Get-AppxPackageAutoUpdateSettings

Provides visibility to the settings configured for a particular Windows App.

Syntax

Get-AppxPackageAutoUpdateSettings
   [[-PackageFullName] <String>]
   [-ShowUpdateAvailability]
   [-AllUsers]
   [<CommonParameters>]

Description

The Get-AppxPackageAutoUpdateSettings PowerShell cmdlet returns the settings configured for a specific or all installed Windows Apps in relation to Auto Update and Repair.

Examples

Example 1: Get all App Package Auto Update settings

Get-AppxPackageAutoUpdateSettings

This will return the Auto Update and Repair settings for all configured and installed Windows Apps on the device, and registered to the user.

Example 2: Get App Package Auto Update settings for all users

Get-AppxPackageAutoUpdateSettings -AllUsers

This will return the Auto Update and Repair settings for all configured and installed Windows Apps that have been registered for all users.

Example 3: Get a single App Package Auto Update setting

Get-AppxPackageAutoUpdateSettings -PackageFullName publisher.package1_1.0.0.0_neutral__8wekyb3d8bbwe

This will return the Auto Update and Repair settings for a specific Windows App that has been installed and registered to the signed-in user.

Example 4: Get App Package Auto Update settings for all installed Windows Apps

Get-AppxPackageAutoUpdateSettings -ShowUpdateAvailability

Displays available update information for all installed Windows Apps.

Parameters

-AllUsers

Specifies to display Windows App Auto Update and Repair settings for all that are installed for all users.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-PackageFullName

Specifies the Package Full Name of the app that's being queried.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:True

-ShowUpdateAvailability

Specifies to display available update information for a specific Windows App.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

SwitchParameter

Outputs

Object