mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 00:13:36 +01:00
Update open-facebook.ps1
This commit is contained in:
parent
edec1485f3
commit
c7aaf94f5a
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Opens Facebook's website
|
||||
.DESCRIPTION
|
||||
This script starts the Web browser and opens Facebook's website.
|
||||
This script starts the Web browser with Facebook's website.
|
||||
.EXAMPLE
|
||||
PS> ./open-facebook
|
||||
.NOTES
|
||||
@ -11,10 +11,5 @@
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
try {
|
||||
& "$PSScriptRoot/open-browser.ps1" "https://www.facebook.com"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
|
||||
exit 1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user