try getting the date again

This commit is contained in:
2024-07-01 11:24:24 -04:00
parent bb682a43ee
commit 0127474dbe
+2 -1
View File
@@ -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 = @(