Get-WASImage
Get-WASImage
Gets a list of images.
構文
Parameter Set: ImageId
Get-WASImage [-ImageID] <Guid[]> [ <CommonParameters>]
Parameter Set: ImageName
Get-WASImage [[-ImageName] <String[]> ] [ <CommonParameters>]
詳細説明
The Get-WASImage cmdlet gets a list of the images that are available in the inventory. Image metadata is also returned.
パラメーター
-ImageID<Guid[]>
Specifies the ID of the image you want to get. This is the image ID that is recorded in the inventory. If this parameter is not specified, all images in the inventory are listed.
エイリアス |
なし |
必須? |
true |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ImageName<String[]>
Specifies the name of the image that you want to get. This is the image name recorded in the inventory. The full name of the image isn't required. Wildcards are accepted. If this parameter isn't specified, all images in the inventory are listed.
エイリアス |
なし |
必須? |
false |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Get all images
This command returns a list of all of the images in the inventory.
PS C:\>Get-WASImage
Example 2: Get all images and output data to a table
This command returns a list of all of the images in the inventory, and formats the data in a table.
PS C:\> Get-WASImage | format-table -property ImageName,OsVersion,Architecture,Language