共用方式為


hpcpack list

 

Applies To: Microsoft HPC Pack 2012, Microsoft HPC Pack 2012 R2

Lists the packages that have been uploaded to the specified Windows Azure storage account. You can specify an account by using the node template name, the head node and node template name, or the Windows Azure storage account name and its storage key or Shared Access Signature (SAS) token.

This subcommand was introduced in HPC Pack 2008 R2 with Service Pack 1 and is not supported in previous versions.

Syntax

hpcpack list /nodetemplate:<nodeTemplateName> [/container:<containerName>] 
[/usehttp] 

hpcpack list /scheduler:<headNodeName> /nodetemplate:<nodeTemplateName> 
[/container:<containerName>] [/usehttp] [/folder:<Folder>] [/recursive] 

hpcpack list /account:<storageAccountName> (/key:<storageKey>|/sas:<sasToken>) 
[/container:<containerName>] [/usehttp] [/folder:<Folder>] [/recursive] 

hpcpack list {/? | /help}

Parameters

Parameter

Description

/nodetemplate

Specifies a Windows Azure node template. Hpcpack uses the Windows Azure account name and storage key that is associated with the node template.

/scheduler

Specifies the head node of the cluster. You can use this parameter along with the /nodetemplate parameter if there is no default head node specified on your computer.

/sas

Specifies a Shared Access Signature (SAS) token.

Note

This parameter was introduced in Microsoft® HPC Pack 2012 and is not supported in previous versions.

/account

Specifies the public name of the Windows Azure storage account (the same storage name that you specify in the Windows Azure Node Template).

This is the value of <storageAccountName> in the public URL of the account: https://<storageAccountName>.blob.core.windows.net.

If you specify /account, you must also specify /key.

/key

Specifies the access key for the Windows Azure storage account

If you specify /key, you must also specify /account.

/container

Specifies the name of the container in the Windows Azure storage account that you want to list the file in. If you do not specify this parameter, hpcpack will list the files in the default location: a container named hpcpackages in the storage account.

/usehttp

Specifies that you want to override the default https channel over port 443 and force the communication to http over port 80.

Note

This parameter was introduced in HPC Pack 2008 R2 with Service Pack 3 (SP3) and is not supported in previous versions.

/folder

Specifies the name of the folder that contains the files you want to list. If you do not specify this parameter, hpcpack list will list the files in the container root.

/recursive

Displays the files present in subfolders as well as the files in the top directory. By default, files in subfolders are not displayed.

/?

Displays Help at the command prompt.

/help

Displays Help at the command prompt.

Remarks

To properly display UTF-8 encoded characters in file names, run chcp 65001 to change the console encoding to UTF-8.

Examples

HpcPack list /account:accountName /key:storageKey

HpcPack list /account:accountName /sas:sasToken

HpcPack list /scheduler:headnode /nodetemplate:"node template"