Output file job cleanup time is always $null #633
General Troubleshooting steps
Steps to Reproduce
I just upgraded this morning from 1.1.173 to 1.2.5.
Description of Bug
I have already dug into Maintenance.Tests.ps1. At first I thought that the configuration value was not being read in from psframework correctly. It turns out that was OK. BUT, the code that greps the command line string from the job step seems to never find the value. The regex works, it finds matches.
BUT the .Value seems to be syntactically wrong. The Matches hashtable doesn't work that way.
In short, I think that the line: $days = $Matches.Value