iControl Apps - #05 - Rate Based Statistics
One of the key features of iControl is the ability to monitor statistics of the various objects on the system. Whether it's for capacity planning or auditing and billing purposes, the numbers behind...
Published Jul 24, 2008
Version 1.0Dec 23, 2009
That could be a cut and paste bug. Can you just remove all the newlines and make
$dt = $dt.AddYears($TimeStamp.year-1)
.AddMonths($TimeStamp.month-1)
.AddDays($TimeStamp.day-1)
.AddHours($TimeStamp.hour)
.AddMinutes($TimeStamp.minute)
.AddSeconds($TimeStamp.second);
code into a single line?
$dt = $dt.AddYears($TimeStamp.year-1).AddMonths($TimeStamp.month-1)...
That should fix things up for you.
-Joe