diff --git a/tools/install-powershell.ps1 b/tools/install-powershell.ps1 index 239ac47eeb0..fb82e031f5e 100644 --- a/tools/install-powershell.ps1 +++ b/tools/install-powershell.ps1 @@ -17,6 +17,12 @@ On Windows, add the absolute destination path to the 'User' scope environment variable 'Path'; On Linux, make the symlink '/usr/bin/pwsh' points to "$Destination/pwsh"; On MacOS, make the symlink '/usr/local/bin/pwsh' points to "$Destination/pwsh". +.EXAMPLE + Install the daily build + .\install-powershell.ps1 -Daily +.EXAMPLE + Invoke this script directly from GitHub + Invoke-Expression "& { $(Invoke-RestMethod 'https://aka.ms/install-powershell.ps1') } -daily" #> [CmdletBinding(DefaultParameterSetName = "Daily")] param(