notes.txt

This runs in Windows PowerShell 5.1
 
get the resource properties
 
 
Name PropertyType IsMandatory Values
---- ------------ ----------- ------
Id [string] True {}
Path [string] True {}
Credential [PSCredential] False {}
DependsOn [string[]] False {}
Ensure [string] False {Absent, Present}
Log [string] False {}
PsDscRunAsCredential [PSCredential] False {}
 
 
Values will be enums
 
 
 
 
ResourceType : MSFT_xWindowsUpdate
Name : xHotfix
FriendlyName : xHotfix
Module : xWindowsUpdate
ModuleName : xWindowsUpdate
Version : 2.8.0.0
Path : C:\Program Files\WindowsPowerShell\Modules\xWindowsUpdate\2.8.0.0\DSCResources\MSFT_x
                WindowsUpdate\MSFT_xWindowsUpdate.psm1
ParentPath : C:\Program Files\WindowsPowerShell\Modules\xWindowsUpdate\2.8.0.0\DSCResources\MSFT_x
                WindowsUpdate
ImplementedAs : PowerShell
CompanyName : Microsoft Corporation
Properties : {Id, Path, Credential, DependsOn...}
 
 
Process path to get DSC functions