SoftwareUpdateScripts
SoftwareUpdateScripts copied to clipboard
Clean Sources: Fails when path contains brackets
The clean sources routine doesn't work if brackets are in the unc path name. Test-Path returns always $false if there are brackets in the path. This can be fixed with the parameter -LiteralPath on line 2182.
For me the -CleanSources does not work (as in does not clean up any files) even though my SUGs were cleaned. The SCEP deployment package is over 3 Gigs, despite having just a few updates in it. Tried using the workaround from above, as I thought a $ sign which is part of my share name, and the only special sign in the patch might be an issue, but nothing changed.