From 9b4bd1bcd98c3617a64891e0a862cd2f4cd753ad Mon Sep 17 00:00:00 2001 From: David Yoder Date: Fri, 23 Feb 2024 11:15:00 -0500 Subject: [PATCH] added Get-LongDate func --- Tools.ps1 | 5 +++++ 1 file changed, 5 insertions(+) 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"