Version 1.2.0
-DebugLogFile was removed from Get-LSUpdate in this release! |
---|
Changelog since 1.1.3
More accurate detection:
- Support KeyValue when parsing
_RegistryKeyValue
tests - Support FileVersion when parsing
_Driver
tests - Fail all
_Driver
tests against devices that have no driver at all [Fix #24] - In
_FileVersion
tests, try comparing against both the FileVersion and ProductVersion attributes - The
-FailUnsupportedDependencies
parameter now only affect dependency, not install tests [Fix #26] - Fix inaccurate results or potential error when the same device is connected more than once (e.g. two docking stations)
- Results are now more accurate when running
Get-LSUpdate
(again) after installing updates
Previously, to get accurate results, you would have had to remove and import the module or open a new PowerShell session
Parameters:
- Parameters
-NoTestApplicable
and-NoTestInstalled
added toGet-LSUpdate
[Fix #21] - The
IsApplicable
andIsInstalled
properties of the[LenovoPackage]
objectsGet-LSUpdate
returns are nullable now
These properties could previously only ever be$true
or$false
, but if you use one of the new-NoTest*
parameters withGet-LSUpdate
the coresponding properties of the objects returned will now be set to$null
- Parameter
-PassUnsupportedInstallTests
added toGet-LSUpdate
to change the behavior of unsupported tests for DetectInstall [#26] - Parameter
-DebugLogFile
removed fromGet-LSUpdate
This parameter was added in v1.0.1 but not documented because it was mostly meant to make testing and debugging the detection process ofGet-LSUpdate
easier for myself. However, it turns out that having to collate information split betweeen what's printed to the console and a separate log file wasn't ideal. So I removed this parameter and print debug information to the Debug stream PowerShell offers instead. In effect that means this parameter has been replaced by the common parameter-Debug
and with that also went "official" - Make use of
Write-Debug
and the common parameter-Debug
which prints to the console (by default) - More Debug output than before and with more context
Other:
- Update the
Get-Help
parameter help - Verbose output now tells you when it's parsing a packages dependencies and DetectInstall sections
- With -Verbose output on, you will now be warned about suspected generic/inbox drivers, because they can throw off detection tests and sometimes lead to wrong
IsApplicable
orIsInstalled
results. This issue is being tracked in #27