We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f3d560 commit 3b715abCopy full SHA for 3b715ab
powershell-adapter/psDscAdapter/psDscAdapter.psm1
@@ -548,27 +548,6 @@ function ValidateMethod {
548
return $method
549
}
550
551
-function GetResultProperties {
552
- param (
553
- [Parameter(Mandatory = $true)]
554
- [psobject] $raw_obj,
555
556
- [string[]] $ValidProperties
557
- )
558
-
559
- $result = @{}
560
- $ValidProperties | ForEach-Object {
561
- if ($raw_obj.$_ -is [System.Enum]) {
562
- $result[$_] = $raw_obj.$_.ToString()
563
- }
564
- else {
565
- $result[$_] = $raw_obj.$_
566
567
568
569
- return $result
570
-}
571
572
# cached resource
573
class dscResourceCacheEntry {
574
[string] $Type
0 commit comments