troubleshooting Question

Compare date into a variable

Avatar of CLR Benjamin
CLR Benjamin asked on
9 Comments1 Solution72 ViewsLast Modified:

I have one variable that reads some veeam jobs.

I want to compare the "endtime" attribute between the jobs :

$seshlistBKID | fl endtime

EndTime : 11/04/2019 07:35:07

EndTime : 10/04/2019 14:58:19

EndTime : 10/04/2019 15:14:52

Open in new window

I want the most recent one and send it to a variable.

I don't know how to do it, I think about export-csv but this is to much for something maybe simple.

Thanks you!
Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros