Skip to content

Commit d9a4447

Browse files
authored
Merge pull request #11 from AsBuiltReport/dev
v0.6.0 release
2 parents 74761c8 + 4f32afc commit d9a4447

File tree

106 files changed

+3276
-2102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+3276
-2102
lines changed

AsBuiltReport.NetApp.ONTAP.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
},
1414
"InfoLevel": {
15-
"_comment_": "0 = Disabled, 1 = Enabled",
15+
"_comment_": "0 = Disabled, 1 = Enabled / Summary, 2 = Adv Summary",
1616
"Cluster": 1,
1717
"Node": 1,
1818
"Storage": 1,

AsBuiltReport.NetApp.ONTAP.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'AsBuiltReport.NetApp.ONTAP.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.4.0'
15+
ModuleVersion = '0.6.0'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()

CHANGELOG.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
11
# :arrows_counterclockwise: NetApp ONTAP Storage As Built Report Changelog
22

3-
## [0.4.0] - 2021-09-22
3+
## [0.5.0] - 2021-10-11
44

5-
- Add aditional halthCheck section support
5+
### Added
6+
7+
- Added function to convert from empty content to "-".
8+
9+
### Changed
10+
11+
- Changed main report to use per Node/Vserver filtering.
12+
- Changed Get-NetAppOntapAPI function to allow per Vserver Filtering.
13+
14+
### Fixed
15+
16+
- Fix to better detect unhealthy node.
17+
- Fix for ASUP Health Check.
18+
19+
## [0.4.0] - 2021-09-22
620

21+
- Add additional health check section support
722
- Added function to convert from True/False to Yes/No
823
- Implement a function to convert from T/F to Y/N
924
- Use HTTPS to connect to the Array (by Default)

README.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ For detailed documentation around the whole project, please refer to the `README
3333

3434
### Sample Report - Custom Style 1
3535

36-
Sample NetApp ONTAP As Built report HTML file: [Sample NetApp As-Built Report.html](https://raw.githubusercontent.com/AsBuiltReport/AsBuiltReport.NetApp.ONTAP/master/Samples/Sample%20NetApp%20As-Built%20Report.html)
36+
Sample NetApp ONTAP As Built report HTML file: [Sample NetApp As-Built Report.html](https://technomyth.zenprsolutions.net/wp-content/uploads/2021/11/NetApp-ONTAP-As-Built-Report.html)
3737

3838
Sample NetApp ONTAP As Built report with health checks, using custom report style.
3939

@@ -105,6 +105,7 @@ Ensure you repeat the following steps for the [system requirements](https://gith
105105
5. Close and reopen the PowerShell terminal window.
106106
107107
_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._
108+
108109
### :closed_lock_with_key: Required Privileges
109110
110111
To generate a NetApp ONTAP Array report, a user account with the readonly role of higher on the AFF/FAS is required.
@@ -147,23 +148,34 @@ The **Options** schema allows certain options within the report to be toggled on
147148

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

150-
There are 2 levels (0-1) of detail granularity for each section as follows;
151+
There are 3 levels (0-2) of detail granularity for each section as follows;
151152

152153
| Setting | InfoLevel | Description |
153154
|:-------:|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
154155
| 0 | Disabled | Does not collect or display any information |
155-
| 1 | Enabled | Provides condensed, detailed information for a collection of objects |
156+
| 1 | Enabled / Summary | Provides summarised information for a collection of objects |
157+
| 2 | Adv Summary | Provides condensed, detailed information for a collection of objects |
156158

157159
### Healthcheck
158160

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

161163
## :computer: Examples
162164

163-
There is one example listed below on running the AsBuiltReport script against a NetApp ONTAP Array target. Refer to the `README.md` file in the main AsBuiltReport project repository for more examples.
164-
165-
- The following creates a NetApp ONTAP Array As-Built report in HTML & Word formats in the folder C:\scripts\.
165+
There are a few examples listed below on running the AsBuiltReport script against a NetApp ONTAP Array target. Refer to the `README.md` file in the main AsBuiltReport project repository for more examples.
166166

167167
```powershell
168-
PS C:\>New-AsBuiltReport -Report NetApp.ONTAP -Target 10.10.30.20 -Credential (Get-Credential) -Format HTML,Word -OutputPath C:\scripts\
168+
# Generate a NetApp ONTAP As Built Report for Cluster array '192.168.7.60' using specified credentials. Export report to HTML & DOCX formats. Use default report style. Append timestamp to report filename. Save reports to 'C:\Users\Jon\Documents'
169+
PS C:\> New-AsBuiltReport -Report NetApp.ONTAP -Target 192.168.7.60 -Username 'admin' -Password 'P@ssw0rd' -Format Html,Word -OutputFolderPath 'C:\Users\Jon\Documents' -Timestamp
170+
171+
# Generate a NetApp ONTAP As Built Report for Cluster array 192.168.7.60 using specified credentials and report configuration file. Export report to Text, HTML & DOCX formats. Use default report style. Save reports to 'C:\Users\Jon\Documents'. Display verbose messages to the console.
172+
PS C:\> New-AsBuiltReport -Report NetApp.ONTAP -Target 192.168.7.60 -Username 'admin' -Password 'P@ssw0rd' -Format Text,Html,Word -OutputFolderPath 'C:\Users\Jon\Documents' -ReportConfigFilePath 'C:\Users\Jon\AsBuiltReport\AsBuiltReport.NetApp.ONTAP.json' -Verbose
173+
174+
# Generate a NetApp ONTAP As Built Report for Cluster array 192.168.7.60 using stored credentials. Export report to HTML & Text formats. Use default report style. Highlight environment issues within the report. Save reports to 'C:\Users\Jon\Documents'.
175+
PS C:\> $Creds = Get-Credential
176+
PS C:\> New-AsBuiltReport -Report NetApp.ONTAP -Target 192.168.7.60 -Credential $Creds -Format Html,Text -OutputFolderPath 'C:\Users\Jon\Documents' -EnableHealthCheck
177+
178+
# Generate a NetApp ONTAP As Built Report for Cluster array 192.168.7.60 using stored credentials. Export report to HTML & DOCX formats. Use default report style. Reports are saved to the user profile folder by default. Attach and send reports via e-mail.
179+
PS C:\> New-AsBuiltReport -Report NetApp.ONTAP -Target 192.168.7.60 -Username 'admin' -Password 'P@ssw0rd' -Format Html,Word -OutputFolderPath 'C:\Users\Jon\Documents' -SendEmail
180+
169181
```

0 commit comments

Comments
 (0)