Summary
Downloads the metadata of a SoftPaq metadata in CVA file format from ftp.hp.com or from a specified alternate server with additional configuration capabilities in comparison to the Get-SoftPaqMetadata command
Syntax
Get-SoftpaqMetadataFile [-Number] <String> [[-SaveAs] <String>] [[-FriendlyName]] [[-Quiet]] [[-Overwrite] <String>] [[-Url] <String>] [[-MaxRetries] <Int32>] [<CommonParameters>]
Description
This command downloads the metadata of a SoftPaq metadata in CVA file format from ftp.hp.com or from a specified alternate server with additional configuration capabilities in comparison to the Get-SoftPaqMetadata command.
The additional configuration capabilities are detailed using the following parameters: - SaveAs - FriendlyName - Quiet - Overwrite
Please note that this command calls the Get-SoftPaqMetadata command if the -FriendlyName parameter is specified.
Parameters
Name | Argument | Description |
---|---|---|
Number | <String> | Specifies the SoftPaq number for which to retrieve the metadata. Do not include any prefixes like 'SP' or any extensions like '.exe'. Please specify the SoftPaq number only. |
SaveAs | <String> | Specifies a name for the saved SoftPaq metadata. Otherwise the name is inferred based on the remote name or on the metadata if the -FriendlyName parameter is specified. |
FriendlyName | Specifies a friendly name for the downloaded SoftPaq based on the SoftPaq number and title | |
Quiet | If specified, this command will suppress non-essential messages during execution. | |
Overwrite | <String> | Specifies the the overwrite behavior. The possible values include: "no" = (default if this parameter is not specified) do not overwrite existing files "yes" = force overwrite "skip" = skip existing files without any error |
Url | <String> | Specifies an alternate location for the SoftPaq URL. This URL must be HTTPS. The SoftPaq CVAs are expected to be at the location pointed to by this URL. If not specified, ftp.hp.com is used via HTTPS protocol. |
MaxRetries | <Int32> | Specifies the 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. |
Examples
PS C:\> Get-SoftpaqMetadataFile -Number 1234