tpcarman / As-Built-Report

A collection of PowerShell scripts to generate as built reports on the configuration of datacentre infrastucture in Text, XML, HTML & MS Word formats.
MIT License
88 stars 28 forks source link

Refactor NSX Report to use PSCustomObject to select data, rather than select-object #35

Closed mattallford closed 6 years ago

mattallford commented 6 years ago

Description

Rewrote most of the NSX report script to use splatting to gather information from cmdlets, rather than the use of select-object. Also made changes specifically to NSX Edge configuration and NSX Distributed Firewall information, to gather additional configuration information and improve the performance of the script

Related Issue

N/A

Motivation and Context

Standardisation of the report to use splatting to gather output of cmdlets I wanted to get this in place before expanding the script to gather more information

How Has This Been Tested?

Each change has been tested in my lab environment which contains an installation of VMware NSX-v. Various changes were made to settings within NSX to ensure these were reflected correctly in the as built report output

Screenshots (if appropriate):

Types of changes

Checklist: