mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 13:04:59 +02:00
Improve the .Example section
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
.DESCRIPTION
|
||||
This PowerShell script installs the Microsoft Edge Browser from the Microsoft Store.
|
||||
.EXAMPLE
|
||||
PS> ./install-edge
|
||||
PS> ./install-edge.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -12,7 +12,7 @@
|
||||
#>
|
||||
|
||||
try {
|
||||
"Installing Edge, please wait..."
|
||||
"Installing Microsoft Edge, please wait..."
|
||||
|
||||
& winget install "Microsoft Edge Browser" --source msstore --accept-package-agreements --accept-source-agreements
|
||||
if ($lastExitCode -ne "0") { throw "'winget install' failed" }
|
||||
|
Reference in New Issue
Block a user