Skip to content

Commit a8f2aca

Browse files
authored
Merge pull request #20 from rebelinux/dev
More changes to allow to filter on Vserver Name
2 parents c6d60db + 556a945 commit a8f2aca

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

Src/Private/Get-AbrOntapNetworkMGMT.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrOntapNetworkMgmt {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.6.3
8+
Version: 0.6.4
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -159,7 +159,7 @@ function Get-AbrOntapNetworkMgmt {
159159
}
160160
try {
161161
Section -Style Heading6 'Data Network Interfaces' {
162-
$ClusterData = Get-NcNetInterface -Controller $Array | Where-Object {$_.Role -eq 'data' -and $_.DataProtocols -ne 'fcp'}
162+
$ClusterData = Get-NcNetInterface -Controller $Array | Where-Object {$_.Role -eq 'data' -and $_.DataProtocols -ne 'fcp' -and $_.Vserver -notin $options.Exclude.Vserver}
163163
$ClusterObj = @()
164164
if ($ClusterData) {
165165
foreach ($Item in $ClusterData) {

Src/Private/Get-AbrOntapSecuritySSLDetailed.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrOntapSecuritySSLDetailed {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.6.3
8+
Version: 0.6.4
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -24,7 +24,7 @@ function Get-AbrOntapSecuritySSLDetailed {
2424

2525
process {
2626
try {
27-
$Data = Get-NcSecurityCertificate -Controller $Array | Where-Object {$_.Type -eq "server"}
27+
$Data = Get-NcSecurityCertificate -Controller $Array | Where-Object {$_.Type -eq "server" -and $_.Vserver -notin $Options.Exclude.Vserver}
2828
$OutObj = @()
2929
if ($Data) {
3030
foreach ($Item in $Data) {

Src/Private/Get-AbrOntapSecuritySSLVserver.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrOntapSecuritySSLVserver {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.6.3
8+
Version: 0.6.4
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -24,7 +24,7 @@ function Get-AbrOntapSecuritySSLVserver {
2424

2525
process {
2626
try {
27-
$Data = Get-NcSecuritySsl -Controller $Array
27+
$Data = Get-NcSecuritySsl -Controller $Array | Where-Object {$_.Vserver -notin $Options.Exclude.Vserver}
2828
$OutObj = @()
2929
if ($Data) {
3030
foreach ($Item in $Data) {

Src/Private/Get-AbrOntapSysConfigDNS.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrOntapSysConfigDNS {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.6.3
8+
Version: 0.6.4
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -24,7 +24,7 @@ function Get-AbrOntapSysConfigDNS {
2424

2525
process {
2626
try {
27-
$Data = Get-NcNetDns -Controller $Array
27+
$Data = Get-NcNetDns -Controller $Array | Where-Object {$_.Vserver -notin $Options.Exclude.Vserver}
2828
$OutObj = @()
2929
if ($Data) {
3030
foreach ($Item in $Data) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
647647
Get-AbrOntapSysConfigWebStatus
648648
}
649649
}
650-
if (Get-NcNetDns -Controller $Array) {
650+
if (Get-NcNetDns -Controller $Array | Where-Object {$_.Vserver -notin $Options.Exclude.Vserver}) {
651651
Section -Style Heading3 'DNS Configuration' {
652652
Get-AbrOntapSysConfigDNS
653653
}

0 commit comments

Comments
 (0)