added Get-LongDate func

This commit is contained in:
2024-02-23 11:15:00 -05:00
parent 3ff21ab8f0
commit 9b4bd1bcd9
+5
View File
@@ -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"