Skip to content

Commit d0e71b2

Browse files
authored
Update readme with more info and consistent markdown syntax for headings and lists (#1675)
1 parent c4097b0 commit d0e71b2

File tree

1 file changed

+36
-41
lines changed

1 file changed

+36
-41
lines changed

README.md

Lines changed: 36 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,56 @@
1+
# PSResourceGet
12

23
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/PowerShell/PSResourceGet/blob/master/LICENSE)
3-
[![Documentation - PSResourceGet](https://img.shields.io/badge/Documentation-PowerShellGet-blue.svg)](https://docs.microsoft.com/en-us/powershell/module/powershellget/?view=powershell-7.1)
4+
[![Documentation - PSResourceGet](https://img.shields.io/badge/Documentation-PowerShellGet-blue.svg)](https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget)
45
[![PowerShell Gallery - PSResourceGet](https://img.shields.io/badge/PowerShell%20Gallery-PSResourceGet-blue.svg)](https://www.powershellgallery.com/packages/Microsoft.PowerShell.PSResourceGet)
56
[![Minimum Supported PowerShell Version](https://img.shields.io/badge/PowerShell-5.0-blue.svg)](https://github.com/PowerShell/PSResourceGet)
67

7-
Important Note
8-
==============
8+
## Important Notes
99

10-
If you were familiar with the PowerShellGet 3.0 project, we renamed the module to be PSResourceGet, for more information please read [this blog](https://devblogs.microsoft.com/powershell/powershellget-in-powershell-7-4-updates/).
10+
> [!NOTE]
11+
> `PSResourceGet` is short for the full name of the module, `Microsoft.PowerShell.PSResourceGet`. The full name is what is used in PowerShell and when published to the [PowerShell Gallery](https://www.powershellgallery.com/packages/Microsoft.PowerShell.PSResourceGet).
1112
12-
If you would like to open a PR please open an issue first so that necessary discussion can take place.
13-
Please open an issue for any feature requests, bug reports, or questions for PSResourceGet.
14-
Please note, the repository for PowerShellGet v2 is available at [PowerShell/PowerShellGetv2](https://github.com/PowerShell/PowerShellGetv2).
15-
The repository for the PowerShellGet v3, the compatibility layer between PowerShellGet v2 and PSResourceGet, is available at [PowerShell/PowerShellGet](https://github.com/PowerShell/PowerShellGet).
13+
* If you were familiar with the PowerShellGet 3.0 project, we renamed the module to be PSResourceGet, for more information please read [this blog](https://devblogs.microsoft.com/powershell/powershellget-in-powershell-7-4-updates/).
14+
* If you would like to open a PR please open an issue first so that necessary discussion can take place.
15+
* Please open an issue for any feature requests, bug reports, or questions for PSResourceGet.
16+
* See the [Contributing Quickstart Guide](#contributing-quickstart-guide) section.
17+
* Please note, the repository for PowerShellGet v2 is available at [PowerShell/PowerShellGetv2](https://github.com/PowerShell/PowerShellGetv2).
18+
* The repository for the PowerShellGet v3, the compatibility layer between PowerShellGet v2 and PSResourceGet, is available at [PowerShell/PowerShellGet](https://github.com/PowerShell/PowerShellGet).
1619

17-
Introduction
18-
============
20+
## Introduction
1921

2022
PSResourceGet is a PowerShell module with commands for discovering, installing, updating and publishing the PowerShell resources like Modules, Scripts, and DSC Resources.
2123

22-
Documentation
23-
=============
24+
## Documentation
2425

25-
Documentation for PSResourceGet is currently under its old name PowerShellGet v3, please
26-
[Click here](https://learn.microsoft.com/powershell/module/powershellget/?view=powershellget-3.x)
27-
to reference the documentation.
26+
[Click here](https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget) to reference the documentation.
2827

29-
Requirements
30-
============
28+
## Requirements
3129

32-
- PowerShell 5.0 or higher.
30+
* PowerShell 5.0 or higher.
3331

34-
Get PSResourceGet Module
35-
========================
32+
## Install the PSResourceGet module
3633

34+
* `PSResourceGet` is short for the full name `Microsoft.PowerShell.PSResourceGet`.
35+
* It's included in PowerShell since v7.4.
3736
Please use the [PowerShell Gallery](https://www.powershellgallery.com) to get the latest version of the module.
3837

39-
Get PowerShellGet Source
40-
========================
38+
## Contributing Quickstart Guide
4139

42-
#### Steps
43-
44-
* Obtain the source
45-
- Download the latest source code from the release page (https://github.com/PowerShell/PSResourceGet/releases) OR
46-
- Clone the repository (needs git)
47-
```powershell
48-
git clone https://github.com/PowerShell/PSResourceGet
49-
```
40+
### Get the source code
5041

42+
* Download the latest source code from the release page (<https://github.com/PowerShell/PSResourceGet/releases>) OR clone the repository using git.
43+
```powershell
44+
PS > cd 'C:\Repos'
45+
PS C:\Repos> git clone https://github.com/PowerShell/PSResourceGet
46+
```
5147
* Navigate to the local repository directory
48+
```powershell
49+
PS C:\> cd c:\Repos\PSResourceGet
50+
PS C:\Repos\PSResourceGet>
51+
```
5252

53-
```powershell
54-
PS C:\> cd c:\Repos\PSResourceGet
55-
PS C:\Repos\PSResourceGet>
56-
```
57-
58-
* Build the project
53+
### Build the project
5954

6055
```powershell
6156
# Build for the net472 framework
@@ -65,6 +60,8 @@ PS C:\Repos\PSResourceGet> .\build.ps1 -Clean -Build -BuildConfiguration Debug -
6560
PS C:\Repos\PSResourceGet> .\build.ps1 -Clean -Build -BuildConfiguration Debug -BuildFramework netstandard2.0
6661
```
6762

63+
### Publish the module to a local repository
64+
=======
6865
* Run functional tests
6966

7067
```powershell
@@ -75,7 +72,7 @@ PS C:\Repos\PSResourceGet> Invoke-Pester
7572
PS C:\Repos\PSResourceGet> Invoke-Pester <file-name>
7673
```
7774

78-
* Import the module into a new PowerShell session
75+
### Import the built module into a new PowerShell session
7976

8077
```powershell
8178
# If running PowerShell 6+
@@ -87,12 +84,10 @@ c:\> PowerShell
8784
C:\> Import-Module C:\Repos\PSResourceGet\out\PSResourceGet\PSResourceGet.psd1
8885
```
8986

90-
Code of Conduct
91-
===============
87+
## Code of Conduct
9288

9389
Please see our [Code of Conduct](CODE_OF_CONDUCT.md) before participating in this project.
9490

95-
Security Policy
96-
===============
91+
## Security Policy
9792

9893
For any security issues, please see our [Security Policy](SECURITY.md).

0 commit comments

Comments
 (0)