Prerequisites
Summary
The WindowPowerShell adapter module supports calling the Export method for class-based DSC resources. The adapter resource should be updated to indicate that feature.
|
'Export' { |
|
$t = $dscResourceInstance.GetType() |
|
$method = $t.GetMethod('Export') |
|
$resultArray = $method.Invoke($null, $null) |
|
$addToActualState = $resultArray |
Steps to reproduce
n/a
Expected behavior
Actual behavior
Error details
Environment data
Version
3.1.0-preview5
Visuals
No response
Prerequisites
Summary
The WindowPowerShell adapter module supports calling the
Exportmethod for class-based DSC resources. The adapter resource should be updated to indicate that feature.DSC/powershell-adapter/psDscAdapter/win_psDscAdapter.psm1
Lines 437 to 441 in 47c0d4f
Steps to reproduce
n/a
Expected behavior
n/aActual behavior
n/aError details
Environment data
Version
3.1.0-preview5
Visuals
No response