try getting the date again
This commit is contained in:
@@ -4,12 +4,13 @@ If ( !(Test-Path $DNSHelper) ) {
|
|||||||
Download-File -URL $DNSHelperURL -File $DNSHelper
|
Download-File -URL $DNSHelperURL -File $DNSHelper
|
||||||
}
|
}
|
||||||
$RefreshScript = $Global:ToolsDirectory + '\refresh-local-hosts.bat'
|
$RefreshScript = $Global:ToolsDirectory + '\refresh-local-hosts.bat'
|
||||||
|
$todaysDate = Get-LongDate
|
||||||
$RefreshScriptHeader = @"
|
$RefreshScriptHeader = @"
|
||||||
@echo off
|
@echo off
|
||||||
REM Refresh IP to name mappings in local hosts file
|
REM Refresh IP to name mappings in local hosts file
|
||||||
REM This script was created by an automatic process and should not be edited manually
|
REM This script was created by an automatic process and should not be edited manually
|
||||||
REM Author: David Yoder, Emberkom LLC
|
REM Author: David Yoder, Emberkom LLC
|
||||||
REM Updated: ${$(Get-LongDate)}`n
|
REM Updated: ${todaysDate}`n
|
||||||
"@
|
"@
|
||||||
|
|
||||||
$Resolvers = @(
|
$Resolvers = @(
|
||||||
|
|||||||
Reference in New Issue
Block a user