1

Closed

outdated param doc in Install-WindowsUpdate.ps1?

description

In Boxstarter.WinConfig\Install-WindowsUpdate.ps1

The doc text at the top says:
.PARAMETER Criteria
The criteria used for searching updates. The default criteria is "BrowseOnly=0 and IsAssigned=1 and IsHidden=0 and IsInstalled=0 and Type='Software'" which is effectively just critical updates.
But the param block shows the default doesn't include (AFAICT) the BrowseOnly=0 and IsAssigned=1 parts.
        [string]$criteria="IsHidden=0 and IsInstalled=0 and Type='Software'"
I don't know enough about the criteria to say whether this is different or just my lack of knowledge about BrowseOnly=0 and IsAssigned=1 :)
Closed Mar 25, 2013 at 6:07 AM by mwrock
Thanks for noticing this. I had changed this weeks ago and simply neglected to change the help docs. The one used in the docs broke on some OSs and the current one is reflective of critical updates.

fixed in 06b38a583aa25528990775b9bbd8b4d0c6548bee

comments