Skip to content

Commit f28d547

Browse files
committed
Fix for RuleName PSUseSingularNouns
1 parent 1c374da commit f28d547

7 files changed

+12
-12
lines changed

Src/Private/Get-AbrOntapNodes.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function Get-AbrOntapNodes {
1+
function Get-AbrOntapNode {
22
<#
33
.SYNOPSIS
44
Used by As Built Report to retrieve NetApp ONTAP System Nodes information from the Cluster Management Network

Src/Private/Get-AbrOntapRepDestinations.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function Get-AbrOntapRepDestinations {
1+
function Get-AbrOntapRepDestination {
22
<#
33
.SYNOPSIS
44
Used by As Built Report to retrieve NetApp ONTAP SnapMirror Destination relationship information from the Cluster Management Network

Src/Private/Get-AbrOntapSecurityUsers.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function Get-AbrOntapSecurityUsers {
1+
function Get-AbrOntapSecurityUser {
22
<#
33
.SYNOPSIS
44
Used by As Built Report to retrieve NetApp ONTAP Security Local Users information from the Cluster Management Network

Src/Private/Get-AbrOntapSysConfigEMSSettings.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function Get-AbrOntapSysConfigEMSSettings {
1+
function Get-AbrOntapSysConfigEMSSetting {
22
<#
33
.SYNOPSIS
44
Used by As Built Report to retrieve NetApp ONTAP System EMS Settings information from the Cluster Management Network

Src/Private/Get-AbrOntapVserverCIFSLGMembers.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function Get-AbrOntapVserverCIFSLGMembers {
1+
function Get-AbrOntapVserverCIFSLGMember {
22
<#
33
.SYNOPSIS
44
Used by As Built Report to retrieve NetApp ONTAP Vserver CIFS Local Group Members information from the Cluster Management Network

Src/Private/Get-AbrOntapVserverCIFSOptions.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function Get-AbrOntapVserverCIFSOptions {
1+
function Get-AbrOntapVserverCIFSOption {
22
<#
33
.SYNOPSIS
44
Used by As Built Report to retrieve NetApp ONTAP Vserver CIFS Options information from the Cluster Management Network

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
7777
Section -Style Heading3 'Node Inventory' {
7878
Paragraph "The following section provides the node inventory on $($ClusterInfo.ClusterName)."
7979
BlankLine
80-
Get-AbrOntapNodes
80+
Get-AbrOntapNode
8181
Section -Style Heading4 'Node Vol0 Inventory' {
8282
Paragraph "The following section provides the node vol0 inventory on $($ClusterInfo.ClusterName)."
8383
BlankLine
@@ -411,12 +411,12 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
411411
BlankLine
412412
Paragraph "The following section provides the Cifs Service Local Group Memeber Information on $($SVM)."
413413
BlankLine
414-
Get-AbrOntapVserverCIFSLGMembers -Vserver $SVM
414+
Get-AbrOntapVserverCIFSLGMember -Vserver $SVM
415415
}
416416
Section -Style Heading6 'CIFS Options' {
417417
Paragraph "The following section provides the CIFS Service Options Information on $($SVM)."
418418
BlankLine
419-
Get-AbrOntapVserverCIFSOptions -Vserver $SVM
419+
Get-AbrOntapVserverCIFSOption -Vserver $SVM
420420
}
421421
Section -Style Heading6 'CIFS Share' {
422422
Paragraph "The following section provides the CIFS Service Shares Information on $($SVM)."
@@ -551,7 +551,7 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
551551
Section -Style Heading4 'SnapMirror Destinations' {
552552
Paragraph "The following section provides the SnapMirror (List-Destination) information on $($ClusterInfo.ClusterName)."
553553
BlankLine
554-
Get-AbrOntapRepDestinations
554+
Get-AbrOntapRepDestination
555555
}
556556
}
557557
if (Get-NetAppOntapAPI -uri "/api/cluster/mediators?") {
@@ -621,7 +621,7 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
621621
Section -Style Heading3 "$SVM Vserver Local User" {
622622
Paragraph "The following section provides the Local User information on $($SVM)."
623623
BlankLine
624-
Get-AbrOntapSecurityUsers -Vserver $SVM
624+
Get-AbrOntapSecurityUser -Vserver $SVM
625625
}
626626
}
627627
}
@@ -749,7 +749,7 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
749749
Section -Style Heading3 'EMS Configuration' {
750750
Paragraph "The following section provides the EMS Configuration on $($ClusterInfo.ClusterName)."
751751
BlankLine
752-
Get-AbrOntapSysConfigEMSSettings
752+
Get-AbrOntapSysConfigEMSSetting
753753
$Nodes = Get-NcNode -Controller $Array
754754
foreach ($Node in $Nodes) {
755755
if ($HealthCheck.System.EMS -and (Get-NcEmsMessage -Node $Node -Count 30 -Severity "emergency","alert" -Controller $Array)) {

0 commit comments

Comments
 (0)