mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-12 06:02:56 +02:00
Updated the open-*.ps1 scripts
This commit is contained in:
@ -4,15 +4,17 @@
|
||||
.DESCRIPTION
|
||||
This script launches the Remote Desktop application.
|
||||
.EXAMPLE
|
||||
PS> ./open-remote-desktop
|
||||
PS> ./open-remote-desktop.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
#requires -version 5.1
|
||||
|
||||
try {
|
||||
start-process ms-rd:
|
||||
Start-Process ms-rd:
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Reference in New Issue
Block a user