AsBuiltReport / AsBuiltReport.Core

Repository for AsBuiltReport core module
https://www.asbuiltreport.com
MIT License
54 stars 23 forks source link

Ability to support -Verbose Switch #28

Closed mwpreston closed 4 years ago

mwpreston commented 4 years ago

Is your feature request related to a problem? Please describe. Currently passing the -Verbose switch to New-AsBuiltReport does nothing. Whether -Verbose is passed or not, the PScribo cmdlets are run with -Verbose on.

Describe the solution you'd like I would like to be able to generate a report using the -Verbose switch. IE New-AsBuiltReport -Verbose will output verbose statements New-AsBuiltReport will not output any verbose statements

Adding support for the verbose switch will also allow end-users to turn on/off verbosity when running vendor reports as well.

Describe alternatives you've considered Hard coding the $VerbosePreference at the beginning of the report and then switching back at the end.