Get-M365DSCResourceDifferences¶
Description¶
Resolves two installed module versions and returns added and removed resource names by comparing their DscResources folders.
Output¶
This function outputs information as the following type: System.Collections.Hashtable
Parameters¶
| Parameter | Required | DataType | Default Value | Allowed Values | Description |
|---|---|---|---|---|---|
| PreviousVersion | True | String | Specifies the older Microsoft365DSC version to compare. | ||
| CurrentVersion | False | String | Specifies the newer Microsoft365DSC version to compare. When omitted, the latest installed version is used. |
Examples¶
-------------------------- EXAMPLE 1 --------------------------
Get-M365DSCNewResources -PreviousVersion '1.24.501.1' -CurrentVersion '1.24.515.1'
-------------------------- EXAMPLE 2 --------------------------
Get-M365DSCNewResources -PreviousVersion '1.24.501.1'