Get‐SoftpaqList



Summary

Get a list of softpaqs for a platform

Syntax

Get-SoftpaqList [[-Platform] <String>] [[-Bitness] <Int32>] [[-Os] <String>] [[-OsVer] <Int32>] [[-Url] <String>] [[-Quiet]] [[-Format] <String>] [[-Overwrite] <String>] [[-Category] <String[]>] [[-ReleaseType] <String[]>] [[-Characteristic] <String[]>] [[-CacheDir] <DirectoryInfo>] [[-MaxRetries] <Int32>] [<CommonParameters>]

Get-SoftpaqList [-Platform <String>] [-Bitness <Int32>] [-Os <String>] [-OsVer <Int32>] [-Url <String>] [-Quiet] [-Format <String>] [[-DownloadDirectory] <String>] [[-Download]] [[-DownloadMetadata]] [[-DownloadNotes]] [[-FriendlyName]] [-Overwrite <String>] [-Category <String[]>] [-ReleaseType <String[]>] [-Characteristic <String[]>] [-CacheDir <DirectoryInfo>] [-MaxRetries <Int32>] [<CommonParameters>]

Description

This function gets a list of latest softpaqs for a specified platform ID, or the current computer.

Get-SoftpaqList functionality is not supported in WinPE.

Parameters

Name Argument Description
Platform <String> The platform ID for which to retrieve the list of softpaqs. If not available, the current platform ID is used.
Bitness <Int32> the platform bitness (32 or 64). If not available, the current platform bitness is used.
Os <String> filter for the specified OS. The OS may be one of win7, win8, win8.1, win10. If not specified, current platform OS is used.
OsVer <Int32> filter for the specified OS Version. Applies to Win10 only. This is a numeric value, usually the third part of a Windows 10 version (e.g. 10.0.xxxx)
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, ftp.hp.com is used via HTTPS protocol.
Quiet Suppress non-error progress messages
Format <String> Display results in a specified format (json, xml, or csv). If not specified, results are returned as powershell objects
DownloadDirectory <String> specify a directory for the downloaded files
Download download matching softpaqs
DownloadMetadata also download CVA files (metadata) for matching softpaqs
DownloadNotes also download note files (human readable info files) for matching softpaqs
FriendlyName if specified, retrieve the softpaq metadata and create a friendly file name based on the softpaq title. Applies if -download is specified.
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.
Category <String[]> The category field filters to a specific category of Softpaqs. It must be one (or more) of "bios", "firmware", "driver", "software", "os", "manageability", "diagnostic", "utility", "driverpack", "dock".
ReleaseType <String[]> filter to specified release type. The release type must be one (or more) of "critical", "recommended", "routine".
Characteristic <String[]> Specify additional filter characteristics for the softpaq list. The characteristic must be one (or more) of "ssm", "dpb".
CacheDir <DirectoryInfo> Custom location for caching data files. If not specified, the user-specific TEMP directory is used.
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.

Notes

The response is a record set composed of zero or more softpaq records. The definition of a record is as follows:

Field Description
Id The softpaq identifier
Name The softpaq name (title)
Category The softpaq category
Version The softpaq version
Vendor The author of the softpaq
ReleaseType The softpaq release type (TODO)
SSM This flag indicates this softpaq support unattended silent install
DPB This flag indicates this softpaq is included in driver pack builds
Url The softpaq download URL
ReleaseNotes The URL to a human-readable rendering of the softpaq release notes
Metadata The URL to the softpaq metadata (CVA) file
MD5 (where available) The MD5 value for this softpaq
Size The softpaq size, in bytes
ReleaseDate The date the softpaq was published

Examples


PS C:\> Get-SoftpaqList -Download

PS C:\> Get-SoftpaqList -Bitness 64 -Os win10 -OsVer 1903

PS C:\> Get-SoftpaqList -Platform 8444 -Category Diagnostic -Format json

PS C:\> Get-SoftpaqList -Category Driverpack

PS C:\> Get-SoftpaqList -ReleaseType critical -characteristic SSM

PS C:\> Get-SoftpaqList -Platform 83b2 -Category Dock,Firmware -ReleaseType Routine,Critical

See also