Skip to content

Commit 4e0c2f8

Browse files
committed
Fix indentation
1 parent be48a00 commit 4e0c2f8

File tree

3 files changed

+38
-38
lines changed

3 files changed

+38
-38
lines changed

AsBuiltReport.NetApp.ONTAP.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"Options": {
1212
"Exclude": {
1313
"Vserver": [],
14-
"MetroCluster" : false
14+
"MetroCluster": false
1515
}
1616
},
1717
"InfoLevel": {
@@ -81,4 +81,4 @@
8181
"KMS": true
8282
}
8383
}
84-
}
84+
}

README.md

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ The ONTAP Storage As Built Report supports the following ONTAP versions;
5757

5858
This report is compatible with the following PowerShell versions;
5959

60-
| PowerShell 5.1 | PowerShell 7 |
61-
|:----------------------:|:---------------:|
62-
| :white_check_mark: | :white_check_mark:|
60+
| PowerShell 5.1 | PowerShell 7 |
61+
| :----------------: | :----------------: |
62+
| :white_check_mark: | :white_check_mark: |
6363

6464
## :wrench: System Requirements
6565

@@ -68,10 +68,10 @@ Each of the following modules will be automatically installed by following the [
6868
These modules may also be manually installed.
6969

7070
| Module Name | Minimum Required Version | PS Gallery | GitHub |
71-
|--------------------|:------------------------:|:---------------------------------------------------------------------:|:---------------------------------------------------------------------------:|
71+
| ------------------ | :----------------------: | :-------------------------------------------------------------------: | :-------------------------------------------------------------------------: |
7272
| PScribo | 0.9.1 | [Link](https://www.powershellgallery.com/packages/PScribo) | [Link](https://github.com/iainbrighton/PScribo/tree/master) |
7373
| AsBuiltReport.Core | 1.2.0 | [Link](https://www.powershellgallery.com/packages/AsBuiltReport.Core) | [Link](https://github.com/AsBuiltReport/AsBuiltReport.Core/releases/latest) |
74-
| Netapp.ONTAP | 9.10.1.2111 | [Link](https://www.powershellgallery.com/packages/NetApp.ONTAP) | |
74+
| Netapp.ONTAP | 9.10.1.2111 | [Link](https://www.powershellgallery.com/packages/NetApp.ONTAP) | |
7575

7676
## :package: Module Installation
7777

@@ -124,50 +124,50 @@ The following provides information of how to configure each schema within the re
124124

125125
The **Report** schema provides configuration of the NetApp ONTAP report information.
126126

127-
| Sub-Schema | Setting | Default | Description |
128-
|---------------------|--------------|--------------------------------|--------------------------------------------------------------|
129-
| Name | User defined | NetApp ONTAP As Built Report | The name of the As Built Report |
130-
| Version | User defined | 1.0 | The report version |
131-
| Status | User defined | Released | The report release status |
132-
| ShowCoverPageImage | true / false | true | Toggle to enable/disable the display of the cover page image |
133-
| ShowTableOfContents | true / false | true | Toggle to enable/disable table of contents |
134-
| ShowHeaderFooter | true / false | true | Toggle to enable/disable document headers & footers |
135-
| ShowTableCaptions | true / false | true | Toggle to enable/disable table captions/numbering |
127+
| Sub-Schema | Setting | Default | Description |
128+
| ------------------- | ------------ | ---------------------------- | ------------------------------------------------------------ |
129+
| Name | User defined | NetApp ONTAP As Built Report | The name of the As Built Report |
130+
| Version | User defined | 1.0 | The report version |
131+
| Status | User defined | Released | The report release status |
132+
| ShowCoverPageImage | true / false | true | Toggle to enable/disable the display of the cover page image |
133+
| ShowTableOfContents | true / false | true | Toggle to enable/disable table of contents |
134+
| ShowHeaderFooter | true / false | true | Toggle to enable/disable document headers & footers |
135+
| ShowTableCaptions | true / false | true | Toggle to enable/disable table captions/numbering |
136136

137137
### Options
138138

139139
The **Options** schema allows certain options within the report to be toggled on or off.
140-
| Sub-Schema | Setting | Default | Description |
141-
|-----------------|--------------|---------|-----------------------------------------------------------------|
142-
| Exclude: Vserver | Array List | Empty | Allow to filter on Vserver Name
143-
| Exclude: MetroCluster | true / false | false | Allow to filter automatically all Vserver with -mc
140+
| Sub-Schema | Setting | Default | Description |
141+
| --------------------- | ------------ | ------- | -------------------------------------------------- |
142+
| Exclude: Vserver | Array List | Empty | Allow to filter on Vserver Name |
143+
| Exclude: MetroCluster | true / false | false | Allow to filter automatically all Vserver with -mc |
144144

145145
### InfoLevel
146146

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

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

151-
| Setting | InfoLevel | Description |
152-
|:-------:|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
153-
| 0 | Disabled | Does not collect or display any information |
154-
| 1 | Enabled / Summary | Provides summarised information for a collection of objects |
155-
| 2 | Adv Summary | Provides condensed, detailed information for a collection of objects |
151+
| Setting | InfoLevel | Description |
152+
| :-----: | ----------------- | -------------------------------------------------------------------- |
153+
| 0 | Disabled | Does not collect or display any information |
154+
| 1 | Enabled / Summary | Provides summarised information for a collection of objects |
155+
| 2 | Adv Summary | Provides condensed, detailed information for a collection of objects |
156156

157157
The table below outlines the default and maximum **InfoLevel** settings for each section.
158158

159-
| Sub-Schema | Default Setting | Maximum Setting |
160-
|--------------|:---------------:|:---------------:|
161-
| Cluster | 1 | 2 |
162-
| Node | 1 | 2 |
163-
| Storage | 1 | 2 |
164-
| Network | 1 | 2 |
165-
| License | 1 | 2 |
166-
| Vserver | 1 | 2 |
167-
| Efficiency | 1 | 2 |
168-
| Security | 1 | 2 |
169-
| System | 1 | 2 |
170-
| Replication | 1 | 2 |
159+
| Sub-Schema | Default Setting | Maximum Setting |
160+
| ----------- | :-------------: | :-------------: |
161+
| Cluster | 1 | 2 |
162+
| Node | 1 | 2 |
163+
| Storage | 1 | 2 |
164+
| Network | 1 | 2 |
165+
| License | 1 | 2 |
166+
| Vserver | 1 | 2 |
167+
| Efficiency | 1 | 2 |
168+
| Security | 1 | 2 |
169+
| System | 1 | 2 |
170+
| Replication | 1 | 2 |
171171

172172
### Healthcheck
173173

Src/Public/Invoke-AsBuiltReport.NetApp.ONTAP.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
7171

7272
#If metrocluster option remove all -mc vserver
7373
if ($Options.Exclude.MetroCluster) {
74-
$Options.Exclude.Vserver = $Options.Exclude.Vserver + (get-ncvserver |where-object {$_ -like '*-mc'}).Vserver
74+
$Options.Exclude.Vserver = $Options.Exclude.Vserver + (Get-NcVserver | Where-Object { $_ -like '*-mc' }).Vserver
7575
$exclude_vserver = $Options.Exclude.Vserver
7676
Write-PScriboMessage "exclude vserver = $exclude_vserver"
7777
}

0 commit comments

Comments
 (0)