Skip to content

Latest commit

 

History

History
140 lines (108 loc) · 8.52 KB

README.md

File metadata and controls

140 lines (108 loc) · 8.52 KB

Buy Me a Coffee at ko-fi.com

Zerto ZVM As Built Report

❗ THIS ASBUILTREPORT MODULE IS CURRENTLY IN DEVELOPMENT AND MIGHT NOT YET BE FUNCTIONAL ❗

Zerto ZVM As Built Report is a PowerShell module which works in conjunction with AsBuiltReport.Core.

AsBuiltReport is an open-sourced community project which utilises PowerShell to produce as-built documentation in multiple document formats for multiple vendors and technologies.

Please refer to the AsBuiltReport website for more detailed information about this project.

🔰 Getting Started

Below are the instructions on how to install, configure and generate a Zerto ZVM As Built report.

💾 Supported Versions

The Zerto ZVM As Built Report supports the following ZVM versions;

  • To be confirmed

PowerShell

This report is compatible with the following PowerShell versions;

Windows PowerShell 5.1 PowerShell 7

🔧 System Requirements

PowerShell 5.1 or PowerShell 7, and the following PowerShell modules are required for generating a Zerto ZVM As Built Report.

🔐 Required Privileges

📦 Module Installation

PowerShell

install-module AsBuiltReport.Zerto.ZVM

GitHub

If you are unable to use the PowerShell Gallery, you can still install the module manually. Ensure you repeat the following steps for the system requirements also.

  1. Download the code package / latest release zip from GitHub
  2. Extract the zip file
  3. Copy the folder AsBuiltReport.Zerto.ZVM to a path that is set in $env:PSModulePath.
  4. Open a PowerShell terminal window and unblock the downloaded files with
    $path = (Get-Module -Name AsBuiltReport.Zerto.ZVM -ListAvailable).ModuleBase; Unblock-File -Path $path\*.psd1; Unblock-File -Path $path\Src\Public\*.ps1; Unblock-File -Path $path\Src\Private\*.ps1
  5. Close and reopen the PowerShell terminal window.

Note: You are not limited to installing the module to those example paths, you can add a new entry to the environment variable PSModulePath if you want to use another path.

✏️ Configuration

The Zerto ZVM As Built Report utilises a JSON file to allow configuration of report information, options, detail and healthchecks.

A Zerto ZVM report configuration file can be generated by executing the following command;

New-AsBuiltReportConfig -Report Zerto.ZVM -FolderPath <User specified folder> -Filename <Optional>

Executing this command will copy the default Zerto ZVM report JSON configuration to a user specified folder.

All report settings can then be configured via the JSON file.

The following provides information of how to configure each schema within the report's JSON file.

Report

The Report schema provides configuration of the Zerto ZVM report information.

Sub-Schema Setting Default Description
Name User defined Zerto ZVM As Built Report The name of the As Built Report
Version User defined 1.0 The report version
Status User defined Released The report release status
ShowCoverPageImage true / false true Toggle to enable/disable the display of the cover page image
ShowTableOfContents true / false true Toggle to enable/disable table of contents
ShowHeaderFooter true / false true Toggle to enable/disable document headers & footers
ShowTableCaptions true / false true Toggle to enable/disable table captions/numbering

Options

The Options schema allows certain options within the report to be toggled on or off.

InfoLevel

The InfoLevel schema allows configuration of each section of the report at a granular level. The following sections can be set.

There are 3 levels (0-2) of detail granularity for each section as follows;

Setting InfoLevel Description
0 Disabled Does not collect or display any information
1 Enabled / Summary Provides summarised information for a collection of objects
2 Detailed Provides detailed information for individual objects

Healthcheck

The Healthcheck schema is used to toggle health checks on or off.

There are currently no healthchecks configured for this report.

💻 Examples