Allows the conversion of DSC scripts into PSObject for analysis purposes
Перейти к файлу
Nik Charlebois ab223d9389 Release 2.0.0.12 2024-11-11 11:23:07 -05:00
Images IconURI Updated 2018-11-19 14:16:47 -05:00
Modules/DSCParser Release 2.0.0.12 2024-11-11 11:23:07 -05:00
.gitignore Initial commit 2018-11-19 06:05:14 -08:00
CHANGELOG.md Release 2.0.0.9 2024-09-11 15:01:09 -04:00
LICENSE Initial commit 2018-11-19 06:05:20 -08:00
README.md Shows usage 2022-02-17 09:37:25 +01:00
SECURITY.md Microsoft mandatory file 2022-08-23 14:28:18 +00:00

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