Last active
May 10, 2016 14:06
-
-
Save rchaganti/253ec4940c2d6440b618d5d6973f906a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-ConfigurationDataAsObject | |
{ | |
[CmdletBinding()] | |
Param ( | |
[Parameter(Mandatory)] | |
[Microsoft.PowerShell.DesiredStateConfiguration.ArgumentToConfigurationDataTransformation()] | |
[hashtable] $ConfigurationData | |
) | |
return $ConfigurationData | |
} | |
Get-COnfigurationDataAsObject -ConfigurationData .\myData.psd1 | |
Get-COnfigurationDataAsObject -ConfigurationData $myHashTable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment