Add open-rdp.ps1

This commit is contained in:
Markus Fleschutz 2023-09-26 13:16:28 +02:00
parent e518b37d92
commit 580275de6e
3 changed files with 23 additions and 4 deletions

View File

@ -1958,9 +1958,7 @@ OSI,Open Systems Interconnection
OSP,online service provider
OSP,Open Settlement Protocol
OSPF,Open Shortest Path First
OSS,Online Service System
OSS,open source software
OSS,operational support system
OSS,"Online Service System, Open Source Software, Operational Support System, Off-the-shelf Software Support"
OTA,Over the Air
OTC,order to cash
OTCR,On-Time delivery performance to Customer Request Date

1 ABBR MEANING
1958 OSP online service provider
1959 OSP Open Settlement Protocol
1960 OSPF Open Shortest Path First
1961 OSS Online Service System Online Service System, Open Source Software, Operational Support System, Off-the-shelf Software Support
OSS open source software
OSS operational support system
1962 OTA Over the Air
1963 OTC order to cash
1964 OTCR On-Time delivery performance to Customer Request Date

View File

@ -3643,7 +3643,7 @@ OSOTPBOIAS,"One Sec,On The Phone,Be Off In A Sec"
OSPA,Operations Security Professional's Association site of OSPA
OSPA,Oregon School Psychologists Association [3]
OSRH,Oružane Snage Republike Hrvatske (en: Armed forces of the Republic of Croatia)
OSS,Office of Strategic Services (1942-1945,forerunner of CIA)
OSS,"Office of Strategic Services (1942-1945, forerunner of CIA)"
OSU,"Ohio State University,Oklahoma State University"
OTA,"Office of Technology Assessment, Orthodontic Technicians Association"
OTAC,"Orthodontic Technicians Association Conference,Orthodontic Technicians Association Council"

Can't render this file because it has a wrong number of fields in line 7.

21
Scripts/open-rdp.ps1 Normal file
View File

@ -0,0 +1,21 @@
<#
.SYNOPSIS
Opens the RDP app
.DESCRIPTION
This script launches the Remote Desktop Protocol (RDP) application.
.EXAMPLE
PS> ./open-rdp.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz | License: CC0
#>
param([string]$hostname = "")
if ($hostname -eq "") {
& Start-Process "$env:windir\system32\mstsc.exe"
} else {
& Start-Process "$env:windir\system32\mstsc.exe" -ArgumentList "/v:$hostname"
}
exit 0 # success