You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+61-27Lines changed: 61 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,9 +45,9 @@ This report is compatible with the following PowerShell versions;
45
45
46
46
## :wrench: System Requirements
47
47
48
-
The following module will be automatically installed by following the [module installation](https://github.com/AsBuiltReport/AsBuiltReport.Core#package-module-installation) procedure.
48
+
The following PowerShell module will be automatically installed by following the [module installation](https://github.com/AsBuiltReport/AsBuiltReport.Core#package-module-installation) procedure.
49
49
50
-
This module may also be manually installed.
50
+
This PowerShell module may also be manually installed via GitHub.
51
51
52
52
| Module Name | Minimum Required Version | PS Gallery | GitHub |
@@ -63,19 +63,53 @@ The pre-requisites for each report type will be documented within its own `READM
63
63
64
64
## :package: Module Installation
65
65
66
-
### **PowerShell**
67
-
Open a PowerShell terminal window and install the required module as follows;
66
+
### PowerShell
67
+
#### Online Installation
68
+
69
+
For an online installation, install the `AsBuiltReport.Core` module using the [PowerShell Gallery](https://www.powershellgallery.com/packages?q=Asbuiltreport.Core);
Copy the downloaded `AsBuiltReport.Core` module folder to a location that can be made accessible to the offline system.
88
+
e.g. USB Flash Drive, Internal File Share etc.
89
+
90
+
On the offline system, open a PowerShell console window and run the following command to determine the PowerShell module path.
91
+
92
+
**Windows**
93
+
94
+
```powershell title=""
95
+
$env:PSModulePath -Split ';'
96
+
```
97
+
98
+
**macOS & Linux**
99
+
100
+
```powershell title=""
101
+
$env:PSModulePath -Split ':'
70
102
```
71
103
104
+
Copy the downloaded `AsBuiltReport.Core` module folder to a folder specified in the `$env:PSModulePath` output.
105
+
72
106
### **GitHub**
73
-
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](https://github.com/AsBuiltReport/AsBuiltReport.Core#wrench-system-requirements) also.
107
+
If you are unable to use the PowerShell Gallery, you can still install the `AsBuiltReport.Core`module manually. Ensure you repeat the following steps for the [system requirements](https://github.com/AsBuiltReport/AsBuiltReport.Core#wrench-system-requirements) also.
74
108
75
109
1. Download the [latest release](https://github.com/AsBuiltReport/AsBuiltReport.Core/releases/latest) zip from GitHub
76
110
2. Extract the zip file
77
-
3. Copy the folder `AsBuiltReport.Core` to a path that is set in `$env:PSModulePath`. By default this could be `C:\Program Files\WindowsPowerShell\Modules` or `C:\Users\<user>\Documents\WindowsPowerShell\Modules`
78
-
4.Open a PowerShell terminal window and unblock the downloaded files with
111
+
3. Copy the folder `AsBuiltReport.Core` to a path that is set in `$env:PSModulePath`.
112
+
4.For Windows users only, open a PowerShell terminal window and unblock the downloaded files with
Creates a VMware vSphere report configuration file named 'vSphere_Report_Config.json' in the 'C:\Reports' folder.
167
202
.EXAMPLE
168
-
Creates a report JSON configuration file for Nutanix Prism Central, named 'AsBuiltReport.Nutanix.PrismCentral' in 'C:\Reports' folder, overwriting any existing file.
Creates a Nutanix Prism Element report configuration file name 'AsBuiltReport.Nutanix.PrismElement.json' in '/Users/Tim/Reports' folder and overwrites the existing file.
# Generate a VMware vSphere As Built report in HTML & Word formats. Perform a health check to highlight particular issues which exist within the Vmware vSphere environment. Save the report to the 'H:\Documents\' folder.
# Generate a Nutanix Prism Element As Built Report using specified username and password credentials. Specify the report configuration file to be used. Export report to Text, HTML & DOCX formats. Use the default report style. Save the report to the '/Users/Tim/Documents' folder. Display verbose messages to the console.
# 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.
# Generate a Pure Storage FlashArray As Built Report in Text format and append a timestamp to the filename. Use stored credentials for authentication. Use the default Pure Storage report style. Save the reports to the 'H:\Documents' folder.
# The following creates a VMware NSX-V As Built report in HTML format, using the configuration in the asbuilt.json file located in the C:\scripts\ folder.
0 commit comments