Skip to content

KarolKaczmarek/ClassBasedDscResource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

ClassBasedDscResource

Sample PowerShell class based DSC resource

Deployment

  • Create a module folder under $pshome\Modules or $env:SystemDrive\Program Files\WindowsPowerShell\Modules. You do not need to create DSCResource subfolder.
md SampleClassBasedResource
  • Copy the MyDscResource.psm1 and MyDscResource.psd1 to MyDscResource folder.

Run configuration

PS C:\git\SampleClassBasedResource\Examples> .\SampleClassBasedResourceConfiguration.ps1
PS C:\git\SampleClassBasedResource\Examples> Start-DscConfiguration -path .\SampleClassBasedResourceConfiguration -wait
-verbose

About

Sample PowerShell class based DSC resource

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published