Forum Discussion

MrMartinITPro's avatar
MrMartinITPro
Copper Contributor
Sep 15, 2023

Date comparison does not work

I am attempting to write a file detection script, but PowerShell doesn't seem to recognize that the file dates are equal. Here's what I'm experiencing:   PS C:\> $FileDate = Get-Date -Date "2023-0...

Resources