As-Built-Report

所属分类:内容生成
开发工具:PowerShell
文件大小:176KB
下载次数:0
上传日期:2019-04-07 10:44:47
上 传 者sh-1993
说明:  PowerShell脚本的集合,用于在文本中生成关于数据中心基础架构配置的竣工报告
(A collection of PowerShell scripts to generate as built reports on the configuration of datacentre infrastucture in Text)

文件列表:
As-Built-Report-dev (0, 2019-04-07)
As-Built-Report-dev\.vscode (0, 2019-04-07)
As-Built-Report-dev\.vscode\settings.json (884, 2019-04-07)
As-Built-Report-dev\AsBuiltReport.psd1 (4008, 2019-04-07)
As-Built-Report-dev\AsBuiltReport.psm1 (343, 2019-04-07)
As-Built-Report-dev\CHANGELOG.md (1760, 2019-04-07)
As-Built-Report-dev\CONTRIBUTING.md (4665, 2019-04-07)
As-Built-Report-dev\LICENSE (1067, 2019-04-07)
As-Built-Report-dev\Src (0, 2019-04-07)
As-Built-Report-dev\Src\Public (0, 2019-04-07)
As-Built-Report-dev\Src\Public\New-AsBuiltReport.ps1 (25601, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports (0, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\FlashArray (0, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\FlashArray\FlashArray.json (169, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\FlashArray\FlashArray.ps1 (13562, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\NSX (0, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\NSX\CHANGELOG.md (447, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\NSX\NSX.ps1 (27770, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\Nutanix (0, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\Nutanix\Nutanix.json (272, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\Nutanix\Nutanix.ps1 (17561, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\UCS (0, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\UCS\UCS.json (155, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\UCS\UCS.ps1 (38758, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\vSphere (0, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\vSphere\CHANGELOG.md (1934, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\vSphere\Samples (0, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\vSphere\Samples\Sample vSphere As-Built Report.html (143563, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\vSphere\Samples\Sample_vSphere_Report_1.png (58176, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\vSphere\Samples\Sample_vSphere_Report_2.png (44392, 2019-04-07)
As-Built-Report-dev\Src\Public\Reports\vSphere\vSphere.json (1960, 2019-04-07)
... ...

**========================= // =========================** # *** IMPORTANT PLEASE READ *** This repository has been **archived and set to read-only**. A new repository for the AsBuiltReport project is available [here](https://github.com/AsBuiltReport). Further information regarding AsBuiltReport is available [here](https://github.com/AsBuiltReport/AsBuiltReport.Core/blob/master/README.md) The following information is for reference purposes only. **========================= // =========================** # AsBuiltReport AsBuiltReport is a PowerShell module which generates As-Built documentation for many common datacentre infrastructure systems. Reports can be generated in Text, XML, HTML and MS Word formats and can be presented with custom styling to align with your company/customer's brand. The following systems are currently fully supported, with many more being added very shortly: - Cisco UCS - Nutanix - Pure Storage FlashArray - [VMware NSX-V](/Src/Public/Reports/NSX/README.md) - [VMware vSphere](/Src/Public/Reports/vSphere/README.md) # Getting Started The following simple list of instructions will get you started with the AsBuiltReport module. ## Pre-requisites All CmdLets and Functions require the [PScribo](https://github.com/iainbrighton/PScribo) module version 0.7.24 or later. PScribo can be installed from the PowerShell Gallery with the following command. ```powershell Install-Module PScribo ``` Each of the specific As-Built report types may also require other modules or PSSnapins. The pre-requisites for each report type will be documented within its own `README.md` located in the `Src\Public\Reports\` directory. ## Installing AsBuiltReport Clone this repository with the following command. ```powershell git clone https://github.com/tpcarman/As-Built-Report.git ``` Change directory into the cloned repository and import the module manifest. ```powershell cd .\As-Built-Report Import-Module .\AsBuiltReport.psd1 ``` ## Using AsBuiltReport Each report type utilises a common set of parameters. Additional parameters specific to each report will be detailed in the report's `README.md` file, along with any relevant examples. Each report type has its own sub-directory, within the `Src\Public\Reports` directory. For a full list of common parameters and examples you can view the `New-AsBuiltReport` CmdLet help with the following command. ```powershell Get-Help New-AsBuiltReport -Full ``` Here are some examples to get you going. ```powershell # The following creates a VMware vSphere As-Built report in HTML & Word formats. # The document will highlight particular issues which exist within the environment by including the Healthchecks switch. PS C:\>New-AsBuiltReport -Target 192.168.1.100 -Username admin -Password admin -Format HTML,Word -Type vSphere -Healthchecks # The following creates a Pure Storage FlashArray As-Built report in Text format and appends a timestamp to the filename. It also uses stored credentials to connect to the system. PS C:\>$Creds = Get-Credential PS C:\>New-AsBuiltReport -Target 192.168.1.100 -Credentials $Creds -Format Text -Type FlashArray -Timestamp # The following creates a Cisco UCS As-Built report in default format (Word) with a customised style. PS C:\>New-AsBuiltReport -IP 192.168.1.100 -Username admin -Password admin -Type UCS -StyleName ACME # The following creates a VMware vSphere As-Built report in HTML format, using the configuration in the asbuilt.json file located in the C:\scripts\ folder. PS C:\>New-AsBuiltReport -IP 192.168.1.100 -Username admin -Password admin -Format HTML -Type vSphere -AsBuiltConfigPath C:\scripts\asbuilt.json ``` # Reports ## VMware NSX-V As Built Report - Information relating to the VMware NSX-V As-Built Report can be found in the report's [README.md](/Src/Public/Reports/NSX/README.md) ## VMware vSphere As Built Report - Information relating to the VMware vSphere As-Built Report can be found in the report's [README.md](/Src/Public/Reports/vSphere/README.md) # Release Notes ## [0.3.0] - Unreleased ### What's New - This minor version contains a complete refactor of the project so that it is now a PowerShell module. - We will now aim to host this module on PSGallery in the near future to allow for easier installation and usage. ## [0.2.1] - 2018-09-19 ### Changed - Added parameter validation to `Type` parameter - Fixed `Target` parameter to accept multiple IP/FQDN - Fixed issues with CWD paths - Updated default JSON configuration filename to align with documentation ## [0.2.0] - 2018-08-13 ### Added - New As Built JSON configuration structure - new `AsBuiltConfigPath` parameter - allows unique configuration files to be created and saved - if `AsBuiltConfigPath` parameter is not specified, user is prompted for As Built report configuration information - `New-AsBuiltConfig.ps1` & `Config.json` files are no longer required ## All Releases ### Known Issues - Table Of Contents (TOC) may be missing in Word formatted report When opening the DOC report, MS Word prompts the following `"This document contains fields that may refer to other files. Do you want to update the fields in this document?"` `Yes / No` Clicking `No` will prevent the TOC fields being updated and leaving the TOC empty. Always reply `Yes` to this message when prompted by MS Word. - In HTML documents, word-wrap of table cell contents is not working, causing the following issues; - Cell contents may overflow table columns - Tables may overflow page margin - [PScribo Issue #83](https://github.com/iainbrighton/PScribo/issues/83) - In Word documents, some tables are not sized proportionately. To prevent cell overflow issues in HTML documents, most tables are auto-sized, this causes some tables to be out of proportion. - [PScribo Issue #83](https://github.com/iainbrighton/PScribo/issues/83)

近期下载者

相关文件


收藏者