cFg.EzFormat.ps1
$ModuleRoot = $MyInvocation.MyCommand.Source | Split-Path $formatting = @() $formatting += Write-FormatView -TypeName cFg.DSC.SavedConfigurationMetadata -Property Name, Notes -Wrap -AutoSize $formatting += Write-FormatView -TypeName cFg.DSC.SavedConfiguration -Property Name, Notes, ScriptBlock -AsList $formatting | Out-FormatData | Set-Content -Path "$moduleRoot\cfg.format.ps1xml" |