Add PowerShell profile script

This commit is contained in:
Xevion
2022-04-20 19:39:09 -05:00
parent 368100fb79
commit aa72467bda
2 changed files with 16 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
Function Start-WindowsTerminalAsAdmin {
Start-Process wt -Verb runas -ArgumentList "-d ."
}
Set-Alias -Name wta -Value Start-WindowsTerminalAsAdmin -Description "Starts Windows Terminal as Administrator in the current directory"