Retrieve SoftPaq (EXE) can retrieve a CVA or an alternate server.


Get-Softpaq [-Number <String>] [-SaveAs <String>] [-FriendlyName] [-Quiet] [-Overwrite <String>] [[-Action] <String>] [-Url <String>] [-KeepInvalidSigned] [-MaxRetries <Int32>] [-Extract] [-DestinationPath <String>] [<CommonParameters>]

Get-Softpaq [-Number] <String> [[-SaveAs] <String>] [[-FriendlyName]] [[-Quiet]] [[-Overwrite] <String>] [[-Action] <String>] [[-Url] <String>] [[-KeepInvalidSigned]] [[-MaxRetries] <Int32>] [<CommonParameters>]

Get-Softpaq [-Number] <String> [[-SaveAs] <String>] [[-FriendlyName]] [[-Quiet]] [[-Overwrite] <String>] [[-Url] <String>] [[-KeepInvalidSigned]] [[-MaxRetries] <Int32>] [-Extract] [-DestinationPath <String>] [<CommonParameters>]


This function downloads a SoftPaq from a the default download server ( or an alternate server. When using the default location, the download is performed over HTTPS, otherwise the protocol is dictated by the URL parameter.

If a SoftPaq is either unavailable to download or has been obsoleted on the server, Get-Softpaq will display a warning that the SoftPaq could not be retrieved from

Get-Softpaq functionality is not supported in WinPE.


Name Argument Description
Number <String> The SoftPaq number for which to retrieve the metadata. Do not include prefix such as SP or extension such as .exe, specify the SoftPaq number only.
SaveAs <String> Provide a specific name for the saved SoftPaq, otherwise it is inferred based on the remote name or the SoftPaq metadata if -FriendlyName is specified.
FriendlyName Create a friendly name for the downloaded SoftPaq, based on the SoftPaq number and title.
Quiet Suppress non-errors such as download progress and other messages.
Overwrite <String> This parameter controls the overwrite behavior. Options may be "no" to not overwrite existing files, "yes" to force overwrite, and "skip" to skip existing files without an error. Default is "no" if overwrite is not specified.
Action <String> Perform a specific action after download. The action may be "install" or "silentinstall". Silentinstall information is retrieved from the SoftPaq metadata (CVA) file.
Url <String> Specify an alternate location for the SoftPaq URL. This URL must be http, https, or ftp. The SoftPaqs are expected to be at the location pointed to by this URL. If not specified, is used via HTTPS protocol.
KeepInvalidSigned Get-Softpaq function performs an Authenticode signature check after a download, and the default is to delete any downloaded file with invalid or missing signature. Use this flag to keep the file that failed the signature.
MaxRetries <Int32> Maximum number of retries allowed to obtain an exclusive lock to downloaded files. This is relevant only when files are downloaded into a shared directory and multiple processes may be reading or writing from the same location.

Current default value is 10 retries, and each retry includes a 30 second pause, which means the maximum time the default value will wait for an exclusive logs is 300 seconds or 5 minutes.
Extract Extracts files from a specified zipped archive file to a specified destination folder.

By default, files are extracted into a new sub-folder relative to the downloaded SoftPaq executable.
DestinationPath <String> Specifies the path to the folder in which you want to save extracted files. Enter the path to a folder, but do not specify a file name or file name extension.

By default, the files are extracted into a new sub-folder relative to the downloaded executable.


PS C:\> Get-Softpaq -Number 1234

PS C:\> Get-Softpaq -Number 1234 -Extract -DestinationPath "c:\staging\drivers"

See also