FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Adds examples to `install-powershell.ps1` script (#11024) · PowerShell/PowerShell@094d497 · GitHub

Commit 094d497

Browse files
authored andcommitted
Adds examples to install-powershell.ps1 script (#11024)
1 parent e185f89 commit 094d497

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎tools/install-powershell.ps1‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
On Windows, add the absolute destination path to the 'User' scope environment variable 'Path';
1818
On Linux, make the symlink '/usr/bin/pwsh' points to "$Destination/pwsh";
1919
On MacOS, make the symlink '/usr/local/bin/pwsh' points to "$Destination/pwsh".
20+
.EXAMPLE
21+
Install the daily build
22+
.\install-powershell.ps1 -Daily
23+
.EXAMPLE
24+
Invoke this script directly from GitHub
25+
Invoke-Expression "& { $(Invoke-RestMethod 'https://aka.ms/install-powershell.ps1') } -daily"
2026
#>
2127
[CmdletBinding(DefaultParameterSetName = "Daily")]
2228
param(

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL