Skip to content

Commit e9e6287

Browse files
committed
add unlock alias
1 parent 997bc86 commit e9e6287

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Microsoft.PowerShell_profile.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ if (Test-Path $0)
5959
}
6060
}
6161

62+
function Unlock-RDP {
63+
& "C:\Tools\RDP\RDP-unlock.cmd"
64+
}
65+
6266
# Command aliases...
6367

6468
. $PSScriptRoot\Modules\Scripts\Set-OutDefaultOverride.ps1
@@ -71,6 +75,7 @@ New-Alias pop Pop-Location -ea SilentlyContinue
7175
New-Alias push Push-Location -ea SilentlyContinue
7276
New-Alias rbh Remove-BrowserHijack -ea SilentlyContinue
7377
New-Alias vs Set-VsDevEnv -ea SilentlyContinue
78+
Set-Alias unlock Unlock-RDP -ea SilentlyContinue
7479

7580
# Docker helpers
7681
New-Alias doc Remove-DockerTrash -ea SilentlyContinue

0 commit comments

Comments
 (0)