diff --git a/Tools.ps1 b/Tools.ps1 index 07427ad..d499896 100644 --- a/Tools.ps1 +++ b/Tools.ps1 @@ -34,6 +34,11 @@ Function Get-LongDateTime { Return $(Get-Date -Format "yyyyMMddHHmmssffff") } +# Function to get a datestanp for the current day +Function Get-LongDate { + Return $(Get-Date -Format "yyyyMMdd") +} + # Setup the log file for messages generated when this script is run Function Setup-LogFile { $LogFilePrefix = "ManagementScript"