This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cls | |
$TodayDate = Get-Date -Format "yyyy-MM-dd" | |
$TodayDateF = Get-Date -Format "dd/MM/yyyy" | |
$LDZ = Read-Host -Prompt 'Enter the Local Distribution Zone (LDZ) that you require info for, see here: [https://www.xoserve.com/xoserve-search?term=Postcode%20Exit%20Zone/LDZ%20mapping%20list] ' | |
$PreviousReading = Read-Host -Prompt 'Enter the date of the previous reading in dd/mm/yyyy format' | |
$PreviousReadingDate = Get-Date $PreviousReading -Format "yyyy-MM-dd" | |
$Tab = [char]9 | |
$Soap = @" |