winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

WinGetAdminSettings.md (957B)


      1 ---
      2 external help file: Microsoft.WinGet.DSC.psm1-Help.xml
      3 Module Name: Microsoft.WinGet.DSC
      4 ms.date: 08/28/2024
      5 online version:
      6 schema: 2.0.0
      7 title: WinGetAdminSettings
      8 ---
      9 
     10 # WinGetAdminSettings
     11 
     12 ## SYNOPSIS
     13 Configures WinGet administrator settings.
     14 
     15 ## DESCRIPTION
     16 
     17 Allows the administrator settings to be configured or retrieved. Setting administrator settings requires administrator privileges.
     18 
     19 ## PARAMETERS
     20 
     21 **Parameter**|**Attribute**|**DataType**|**Description**|**Allowed Values**
     22 :-----|:-----|:-----|:-----|:-----
     23 `SID`|Key|String|The SID of the user to target, or an empty string to target the current user. **Only the empty string is currently supported.**|See [security identifiers](https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-identifiers)
     24 `Settings`|Mandatory|Hashtable|The administrator settings as a hashtable.|Inspect the `adminSettings` property of the output from `Get-WinGetSettings`