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.

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 this function performs an Authenticode signature check after a download, and deletes any
  downloaded file with invalid or missing signature. Use this flag to keep the file that failed the signature.
MaxRetries <Int32>
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 1234

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

See also