starting to work on returing to DL_DIR on exit

This commit is contained in:
Jared Haight
2018-03-31 13:19:24 -07:00
parent d7caca1226
commit 8651397c63

View File

@@ -54,6 +54,14 @@ Param(
$DL_DIR = Split-Path -Parent -Path $MyInvocation.MyCommand.Definition
$LAB_HOSTS = ('logger', 'dc', 'wef', 'win10')
# Register-EngineEvent PowerShell.Exiting -SupportEvent -Action {
# Set-Location $DL_DIR
# }
# Register-ObjectEvent -InputObject ([System.Console]) -EventName CancelKeyPress -Action {
# Set-Location $DL_DIR
# }
function install_checker {
param(
[string]$Name