< Back

Install-LSUpdate

Sat Jan 18, 2020 9:52 am

NAME Install-LSUpdate



SYNOPSIS

Installs a Lenovo update package. Downloads it if not previously downloaded.





SYNTAX

Install-LSUpdate [-Package] <PSObject> [-Path <DirectoryInfo>] [-SaveBIOSUpdateInfoToRegistry] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-Package <PSObject>

The Lenovo package object to install



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Path <DirectoryInfo>

If you previously downloaded the Lenovo package to a custom directory, specify its path here so that the

package can be found



Required? false

Position? named

Default value "$env:TEMP\\LSUPackages"

Accept pipeline input? false

Accept wildcard characters? false



-SaveBIOSUpdateInfoToRegistry [<SwitchParameter>]

If a BIOS update is successfully installed, write information about it to 'HKLM\\Software\\LSUClient\\BIOSUpdate'.

This is useful in automated deployment scenarios, especially the 'ActionNeeded' key which will tell you

whether a shutdown or reboot is required to apply the BIOS update.

The created registry values will not be deleted by this module, only overwritten on the next installed BIOS

Update.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS