sankeerth R

sankeerth R

  • NA
  • 105
  • 39.9k

How to Compare dates and do something in POWERSHELL

Dec 5 2017 8:53 AM

Hi scripting guys, I'd like to limit the use of a particular script, I would like to set a start date and the end date.


If today's date is less than starting date: the script is executed, otherwise the script ends

Someone has already dealt with this issue?