Dela via


Microsoft.PowerShell.DesiredStateConfiguration Namespace

Classes

ArgumentToConfigurationDataTransformationAttribute

To make it easier to specify -ConfigurationData parameter, we add an ArgumentTransformationAttribute here. When the input data is of type string and is valid path to a file that can be converted to hashtable, we do the conversion and return the converted value. Otherwise, we just return the input data.