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>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

예제

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

관련 항목

Update-WASJob

Windows Assessment Services Technical Reference