Get-NMMDesktopImage¶
Lists desktop images for an account.
Syntax¶
Description¶
The Get-NMMDesktopImage cmdlet retrieves desktop golden images configured for an NMM account.
Parameters¶
-AccountId¶
The NMM account ID.
| Type | Int32 |
| Required | True |
| Pipeline Input | True (ByPropertyName) |
| Aliases | id |
-ImageId¶
Filter by specific image ID.
| Type | Int32 |
| Required | False |
Examples¶
Example 1: Get all images¶
Example 2: Pipeline from accounts¶
Outputs¶
PSCustomObject[]
| Property | Type | Description |
|---|---|---|
| id | Int32 | Image ID |
| name | String | Image name |
| resourceGroup | String | Azure resource group |
| status | String | Ready, Building, Failed |
| osType | String | Windows 10, Windows 11 |
| lastUpdated | DateTime | Last modification |