I need to create a check that compares the today date with a date string inside a txt file for a bunch of Windows Servers, this is an example of the TXT file, I need to compare the date in the line which starts with "Expires" :
Any idea?
Thank you.
Code:
[Main] ComputerID=xxxxx HardwareID=xxxxx [Product.Remote] Edition=xxxxx Users=xxx [Support.Remote] Expires=2023/02/27 00:00:00 [Other data]
Thank you.
Comment