Get-NMMDesktopImageSchedule¶
Gets maintenance schedules for a desktop image.
Syntax¶
Description¶
The Get-NMMDesktopImageSchedule cmdlet retrieves scheduled maintenance tasks for a desktop image, such as automatic updates or rebuilds.
Parameters¶
-AccountId¶
The NMM account ID.
| Type | Int32 |
| Required | True |
| Pipeline Input | True (ByPropertyName) |
-ImageId¶
The desktop image ID.
| Type | Int32 |
| Required | True |
| Pipeline Input | True (ByPropertyName) |
Examples¶
Example 1: Get image schedules¶
Outputs¶
PSCustomObject[]
| Property | Type | Description |
|---|---|---|
| id | Int32 | Schedule ID |
| name | String | Schedule name |
| scheduleType | String | Update, Rebuild |
| enabled | Boolean | Schedule enabled |
| recurrence | String | Daily, Weekly, Monthly |
| nextRun | DateTime | Next execution |