Export (0) Print
Expand All

Get-WASImage

Published: March 30, 2012

Updated: September 15, 2012

Applies To: Windows 8, Windows Server 2012

Get-WASImage

Gets a list of images.

Syntax

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

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




Detailed Description

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

Parameters

-ImageID<Guid[]>

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


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ImageName<String[]>

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


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Examples

Example 1: Get all images

This command returns a list of all of the images in the Windows Assessment Services 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 Windows Assessment Services inventory, and formats the data in a table.


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

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft