Windows10FeatureUpdates icon indicating copy to clipboard operation
Windows10FeatureUpdates copied to clipboard

Patch 1

Open paulwetter opened this issue 4 years ago • 0 comments

Seems like on some blank files, it is still throwing an error when trying to parse the INI file. $CurrrentIniFileContent = Parse-IniFile -IniFile $SourceIniFile

I propose a change to add a try/catch block. If it can't parse the ini file, then just delete it from there, then it will recreate it with desired settings.

I've been running with this modification now for a few days and can confirm that the systems that were erroring out on my baseline cleared themselves up.

paulwetter avatar Sep 03 '21 03:09 paulwetter