Get-WASImage
Gets a list of images.
Syntax
Get-WASImage
[-ImageID] <Guid[]>
Get-WASImage
[[-ImageName] <String[]>]
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.
Examples
Example 1: Get all images
PS C:\>Get-WASImage
This command returns a list of all of the images in the Windows Assessment Services 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 Windows Assessment Services 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 Windows Assessment Services inventory. If this parameter is not specified, all images in the inventory are listed.
Type: | Guid[] |
Position: | 1 |
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 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.
Type: | String[] |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for