external help file | Module Name | ms.date | online version | schema | title |
---|---|---|---|---|---|
Microsoft.Assessments.WAS.PowerShell.dll-Help.xml |
WasPSExt |
12/05/2017 |
2.0.0 |
Get-WASImage |
Gets a list of images.
Get-WASImage [-ImageID] <Guid[]> [<CommonParameters>]
Get-WASImage [[-ImageName] <String[]>] [<CommonParameters>]
The Get-WASImage cmdlet gets a list of the images that are available in the dep_nextref_was inventory. Image metadata is also returned.
PS C:\>Get-WASImage
This command returns a list of all of the images in the dep_nextref_was inventory.
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.
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[]
Parameter Sets: ImageId
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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[]
Parameter Sets: ImageName
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).