Get-WinGetUserSetting.md (1320B)
1 --- 2 external help file: Microsoft.WinGet.Client.Cmdlets.dll-Help.xml 3 Module Name: Microsoft.WinGet.Client 4 ms.date: 08/01/2024 5 online version: 6 schema: 2.0.0 7 title: Get-WinGetUserSetting 8 --- 9 10 # Get-WinGetUserSetting 11 12 ## SYNOPSIS 13 Gets user settings for WinGet. 14 15 ## SYNTAX 16 17 ``` 18 Get-WinGetUserSetting [<CommonParameters>] 19 ``` 20 21 ## DESCRIPTION 22 23 This command displays the WinGet settings for the current user. The settings are stored in 24 `$env:LOCALAPPDATA\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json`. 25 This file only exists if you have changed a user setting, for example, using the `Set-WinGetUserSetting` command. 26 27 ## EXAMPLES 28 29 ### Example 1: Get the WinGet settings for the current user 30 31 ```powershell 32 Get-WinGetUserSetting 33 ``` 34 35 ## PARAMETERS 36 37 ### CommonParameters 38 39 This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, 40 -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, 41 -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see 42 [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). 43 44 ## INPUTS 45 46 ### None 47 48 ## OUTPUTS 49 50 ### System.Collections.Hashtable 51 52 ## NOTES 53 54 ## RELATED LINKS 55 56 [Get-WinGetSetting](Get-WinGetSetting.md) 57 58 [Set-WinGetUserSetting](Set-WinGetUserSetting.md)