< Back

Test-OosDscParameterState

Sat Jan 18, 2020 5:38 pm

NAME Test-OosDscParameterState



SYNOPSIS

This method is used to compare current and desired values for any DSC resource





SYNTAX

Test-OosDscParameterState [-CurrentValues] <Hashtable> [-DesiredValues] <Object> [[-ValuesToCheck] <Array>]

[<CommonParameters>]





DESCRIPTION





PARAMETERS

-CurrentValues <Hashtable>

This is hashtable of the current values that are applied to the resource



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DesiredValues <Object>

This is a PSBoundParametersDictionary of the desired values for the resource



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ValuesToCheck <Array>

This is a list of which properties in the desired values list should be checkked.

If this is empty then all values in DesiredValues are checked.



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Boolean







RELATED LINKS