Skip to content

Commit

Permalink
Merge pull request #6 from jpawlowski/automated-documentation-update-…
Browse files Browse the repository at this point in the history
…10111570994

Automated documentation update
  • Loading branch information
jpawlowski authored Jul 26, 2024
2 parents f3c1b95 + c2eb7ef commit 500016f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/powershell-extended/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ resource name syntax:
#### Version Examples

| Notation | Description |
|----------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
| -------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `Az` | Installs the latest version. |
| `[email protected]` | Install exactly version 12.1.0. |
| `Az@[12.1.0,]` | Installs any version equal or greater than 12.1.0. |
Expand All @@ -77,19 +77,19 @@ To register a resource repository (or change PSGallery default repository), you

#### Resource Repository Examples

| Notation | Description | Resulting Repository Name |
|-------------------------------------|---------------------------------------|---------------------------|
| `https://example.com/api/v2` | Minimum example. | `example.com` |
| `https://example.com/api/v2^40` | Explicitly set priority to 40. | `example.com` |
| `MyRepo=https://example.com/api/v2` | Setting an explicit repository name. | `MyRepo` |
| `PSGallery^60` | Decrease priority of PSGallery to 60. | `PSGallery` |
| `PSGallery` | Set PSGallery as trusted. | `PSGallery` |
| Notation | Description | Resulting Repository Name |
| ------------------------------------------- | ------------------------------------------------------------ | ------------------------- |
| `https://example.com/api/v2` | Minimum example. | `example.com` |
| `MyRepo=https://example.com/api/v2` | Setting an explicit repository name. | `MyRepo` |
| `https://www.poshtestgallery.com/api/v2^70` | Add PowerShell Test Gallery with a decreased priority of 70. | `www.poshtestgallery.com` |
| `PSGallery^60` | Decrease priority of PSGallery to 60. | `PSGallery` |
| `PSGallery` | Set PSGallery as trusted. | `PSGallery` |

Note that every repository you explicitly set in the configuration will automatically be configured as a **trusted resource**.

> **IMPORTANT:** Please note that multiple items must be separated using a semicolon (`;`).
> It follows the principle used to separate items in the `resources` option.
> For example: `PSGallery; PoshTestGallery=https://www.poshtestgallery.com/api/v2^60`
> For example: `PSGallery; PoshTestGallery=https://www.poshtestgallery.com/api/v2^70`

---
Expand Down

0 comments on commit 500016f

Please sign in to comment.