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 project into a PowerShell module. #26

Closed ryan-jan closed 6 years ago

ryan-jan commented 6 years ago

Description

This change addresses the initial phase of #25 in that it converts the New-AsBuiltReport.ps1 into an advanced function and refactors the project into a module. I have also updated the New-AsBuiltReport.ps1 help contents and the main project README.md to reflect this change.

Related Issue

25

Motivation and Context

This change has been discussed with the team and is generally accepted as the correct way forward. It allows us to provide the standardised PowerShell command style that users are used to using. It also allows us to start investigating hosting the project on the PSGallery for easier installation.

How Has This Been Tested?

I have tested this re factored module against my test environments and no issues were found when generating multiple reports.

Types of changes

Checklist:

ryan-jan commented 6 years ago

Closing as Dev is now too far ahead for me to rebase. I will create a new PR from the latest Dev branch.