Back to Winget Cli

Get-WinGetUserSetting

src/PowerShell/Help/Microsoft.WinGet.Client/Get-WinGetUserSetting.md

1.28.2401.1 KB
Original Source

Get-WinGetUserSetting

SYNOPSIS

Gets user settings for WinGet.

SYNTAX

Get-WinGetUserSetting [<CommonParameters>]

DESCRIPTION

This command displays the WinGet settings for the current user. The settings are stored in $env:LOCALAPPDATA\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json. This file only exists if you have changed a user setting, for example, using the Set-WinGetUserSetting command.

EXAMPLES

Example 1: Get the WinGet settings for the current user

powershell
Get-WinGetUserSetting

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Collections.Hashtable

NOTES

Get-WinGetSetting

Set-WinGetUserSetting