Skip to content

Commit

Permalink
address Flor's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ryfu-msft committed Aug 12, 2024
1 parent 963931d commit b657d9b
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Add-WinGetSource -Name <String> -Argument <String> [-Type <String>] [<CommonPara
## DESCRIPTION

Adds a new source. A source provides the data for you to discover and install packages. Only add a
new source if you trust it as a secure location.
new source if you trust it as a secure location. This command must be executed with administrator permissions.

## EXAMPLES

Expand All @@ -38,7 +38,7 @@ This example adds a new REST source to WinGet named `mysource` with the root URL

### -Argument

The URL or UNC of WinGet source. The source must respond with the WinGet REST source API.
The URL or UNC of either a pre-indexed WinGet source or a WinGet REST source API.

```yaml
Type: System.String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ This command support the following administrative settings:
- InstallerHashOverride
- LocalArchiveMalwareScanOverride
- ProxyCommandLineOptions
- DefaultProxy

Administrative settings are disabled by default. Administrative settings can also be managed using
Group Policy objects.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Export-WinGetPackage [-DownloadDirectory <String>] [-AllowHashMismatch]

This command downloads a WinGet package from a configured source. The command downloads the package,
its manifest, as well as its dependencies and their manifests. By default, the packages are
downloaded to the your `Downloads` folder. You can use the **DownloadDirectory** parameter to change
downloaded to your `Downloads` folder. You can use the **DownloadDirectory** parameter to change
the location.

For Microsoft Azure users, if the package is coming from the Microsoft Store, the command also
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Get-WinGetUserSettings [<CommonParameters>]

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 change a user setting using the `Set-WinGetUserSettings` command.
This file only exists if you have changed a user setting, for example, using the `Set-WinGetUserSettings` command.

## EXAMPLES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,7 @@ Accept wildcard characters: False
### -Custom
Use this parameter to pass additional arguments to the installer. The parameter takes a single
string value. To add multiple arguments, include the arguments in the string. The arguments must be
provided in the format expected by the installer. If the string contains spaces, it must be enclosed
in quotes. This string is added to the arguments defined in the package manifest.
Use this parameter to pass additional arguments to the installer. The parameter takes a single string value. To add multiple arguments, include the arguments in the string. The arguments must be provided in the format expected by the installer. If the string contains spaces, it must be enclosed in quotes. This string is added to the arguments defined in the package manifest.
```yaml
Type: System.String
Expand Down Expand Up @@ -343,10 +340,7 @@ Accept wildcard characters: False

### -Override

Specify arguments to pass to the installer as a single string. To pass multiple arguments, include
the arguments in the string. The arguments must be provided in the format expected by the installer.
If the string contains spaces, it must be enclosed in quotes. This string overrides the arguments in
the package manifest.
Use this parameter to override the existing arguments passed to the installer. The parameter takes a single string value. To add multiple arguments, include the arguments in the string. The arguments must be provided in the format expected by the installer. If the string contains spaces, it must be enclosed in quotes. This string overrides the arguments specified in the package manifest.

```yaml
Type: System.String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Remove-WinGetSource -Name <String> [<CommonParameters>]
## DESCRIPTION

This command removes a configured WinGet source. By default, there are two sources registered:
`msstore` and `winget`. You can add more sources using `Add-WinGetSource`.
`msstore` and `winget`. You can add more sources using `Add-WinGetSource`. This command must be executed with administrator permissions.

## EXAMPLES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ Repair-WinGetPackageManager [-AllUsers] [-Force] [-Latest] [-IncludePreRelease]
## DESCRIPTION

This command repairs the installation of the WinGet client on your computer by installing the
specified version or the latest version of the client. It ensures that the client is installed in a
working state.
specified version or the latest version of the client. This command can also install the WinGet
client if it is not already installed on your machine. It ensures that the client is installed
in a working state.

## EXAMPLES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,7 @@ Accept wildcard characters: False

### -Custom

Use this parameter to pass additional arguments to the installer. The parameter takes a single
string value. To add multiple arguments, include the arguments in the string. The arguments must be
provided in the format expected by the installer. If the string contains spaces, it must be enclosed
in quotes. This string is added to the arguments defined in the package manifest.
Use this parameter to pass additional arguments to the installer. The parameter takes a single string value. To add multiple arguments, include the arguments in the string. The arguments must be provided in the format expected by the installer. If the string contains spaces, it must be enclosed in quotes. This string is added to the arguments defined in the package manifest.

```yaml
Type: System.String
Expand Down Expand Up @@ -372,10 +369,7 @@ Accept wildcard characters: False

### -Override

Specify arguments to pass to the installer as a single string. To pass multiple arguments, include
the arguments in the string. The arguments must be provided in the format expected by the installer.
If the string contains spaces, it must be enclosed in quotes. This string overrides the arguments in
the package manifest.
Use this parameter to override the existing arguments passed to the installer. The parameter takes a single string value. To add multiple arguments, include the arguments in the string. The arguments must be provided in the format expected by the installer. If the string contains spaces, it must be enclosed in quotes. This string overrides the arguments specified in the package manifest.

```yaml
Type: System.String
Expand Down

0 comments on commit b657d9b

Please sign in to comment.