starting to work on returing to DL_DIR on exit
This commit is contained in:
@@ -54,6 +54,14 @@ Param(
|
|||||||
$DL_DIR = Split-Path -Parent -Path $MyInvocation.MyCommand.Definition
|
$DL_DIR = Split-Path -Parent -Path $MyInvocation.MyCommand.Definition
|
||||||
$LAB_HOSTS = ('logger', 'dc', 'wef', 'win10')
|
$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 {
|
function install_checker {
|
||||||
param(
|
param(
|
||||||
[string]$Name
|
[string]$Name
|
||||||
|
|||||||
Reference in New Issue
Block a user