Get-WASImage

Get-WASImage

Gets a list of images.

Sintaxis

Parameter Set: ImageId
Get-WASImage [-ImageID] <Guid[]> [ <CommonParameters>]

Parameter Set: ImageName
Get-WASImage [[-ImageName] <String[]> ] [ <CommonParameters>]

Descripción detallada

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

Parámetros

-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.

Alias

ninguno

¿Requerido?

true

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

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.

Alias

ninguno

¿Requerido?

false

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Ejemplos

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

Temas relacionados

Update-WASJob

Windows Assessment Services Technical Reference