< Back

Save-LSUpdate

Sat Jan 18, 2020 9:52 am

NAME Save-LSUpdate



SYNOPSIS

Downloads a Lenovo update package to disk





SYNTAX

Save-LSUpdate [-Package] <PSObject> [-Proxy <Uri>] [-ProxyCredential <PSCredential>] [-ProxyUseDefaultCredentials]

[-ShowProgress] [-Force] [-Path <DirectoryInfo>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-Package <PSObject>

The Lenovo package or packages to download



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Proxy <Uri>

Specifies a proxy server for the connection to Lenovo. Enter the URI of a network proxy server.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ProxyCredential <PSCredential>

Specifies a user account that has permission to use the proxy server that is specified by the -Proxy

parameter.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ProxyUseDefaultCredentials [<SwitchParameter>]

Indicates that the cmdlet uses the credentials of the current user to access the proxy server that is

specified by the -Proxy parameter.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-ShowProgress [<SwitchParameter>]

Shows a progress animation during the downloading process, recommended for interactive use

as downloads can be quite large and without any progress output the script may appear stuck



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Force [<SwitchParameter>]

Redownload and overwrite packages even if they have already been downloaded previously



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Path <DirectoryInfo>

The target directory to which to download the packages to. In this directory,

a subfolder will be created for each downloaded package.



Required? false

Position? named

Default value "$env:TEMP\\LSUPackages"

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