Skip to content

Run report with debugging options

Jonathan Colon edited this page Jul 5, 2024 · 1 revision

Enable powershell debugging

$global:VerbosePreference = 'Continue'
$global:DebugPreference = 'Continue'
Start-Transcript -Path .\Output.log
New-AsBuiltReport <-- your command here
Stop-Transcript

After saving the report, reset powershell to default settings

$global:VerbosePreference = 'SilentlyContinue'
$global:DebugPreference = 'SilentlyContinue'

Clone this wiki locally