Get-WASImage

Gets a list of images.

Syntax

Get-WASImage
   [-ImageID] <Guid[]>
   [<CommonParameters>]
Get-WASImage
   [[-ImageName] <String[]>]
   [<CommonParameters>]

Description

The Get-WASImage cmdlet gets a list of the images that are available in the dep_nextref_was inventory. Image metadata is also returned.

Examples

Example 1: Get all images

PS C:\>Get-WASImage

This command returns a list of all of the images in the dep_nextref_was inventory.

Example 2: Get all images and output data to a table

PS C:\> Get-WASImage | format-table -property ImageName,OsVersion,Architecture,Language

This command returns a list of all of the images in the dep_nextref_was inventory, and formats the data in a table.

Parameters

-ImageID

Specifies the ID of the image you want to get. This is the image ID that is recorded in the dep_nextref_was inventory. If this parameter is not specified, all images in the inventory are listed.

Type:Guid[]
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ImageName

Specifies the name of the image that you want to get. This is the image name recorded in the dep_nextref_was 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.

Type:String[]
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False