зеркало из https://github.com/microsoft/DSCParser.git
ab223d9389 | ||
---|---|---|
Images | ||
Modules/DSCParser | ||
.gitignore | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
SECURITY.md |
README.md
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