Created
May 2, 2017 11:29
-
-
Save bgelens/6d818bc76227893d11075ee7c2dc9b85 to your computer and use it in GitHub Desktop.
Create code
This file contains 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
New-xDscResource -ModuleName NetworkingDsc -Name MSFT_LMHost -FriendlyName LMHost -ClassVersion 1.0.0.0 -Path ..\Demo -Property @( | |
New-xDscResourceProperty -Name IsSingleInstance -Attribute Key -Type String -ValidateSet 'Yes' -Description "This is a system wide setting and can only be applied once" | |
New-xDscResourceProperty -Name Enable -Type Boolean -Attribute Required -Description "This will Enable or Disable LMHost lookup" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment