Skip to content

Allows the conversion of DSC scripts into PSObject for analysis purposes

License

Notifications You must be signed in to change notification settings

ricmestre/DSCParser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSC Parser

Receives a DSC configuration script (.ps1) as an input, and parses all containes resources and properties into logical PSObject. Usage scenario include: analyzing DSC config for best practices, getting quick stats out of a config, etc.

Installation

DSCParser is available from the PowerShell Gallery, simply run:

Install-Module DSCParser

Usage

$DSCObjects = ConvertTo-DSCObject -Path $PSScriptRoot\..\Tests\Templates\Template1.ps1 -IncludeComments $true
$DSCObjects | Format-Table

About

Allows the conversion of DSC scripts into PSObject for analysis purposes

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%