Skip to content

Commit

Permalink
Merge pull request #20 from rebelinux/dev
Browse files Browse the repository at this point in the history
More changes to allow to filter on Vserver Name
  • Loading branch information
rebelinux authored May 14, 2022
2 parents c6d60db + 556a945 commit a8f2aca
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Src/Private/Get-AbrOntapNetworkMGMT.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrOntapNetworkMgmt {
.DESCRIPTION
.NOTES
Version: 0.6.3
Version: 0.6.4
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -159,7 +159,7 @@ function Get-AbrOntapNetworkMgmt {
}
try {
Section -Style Heading6 'Data Network Interfaces' {
$ClusterData = Get-NcNetInterface -Controller $Array | Where-Object {$_.Role -eq 'data' -and $_.DataProtocols -ne 'fcp'}
$ClusterData = Get-NcNetInterface -Controller $Array | Where-Object {$_.Role -eq 'data' -and $_.DataProtocols -ne 'fcp' -and $_.Vserver -notin $options.Exclude.Vserver}
$ClusterObj = @()
if ($ClusterData) {
foreach ($Item in $ClusterData) {
Expand Down
4 changes: 2 additions & 2 deletions Src/Private/Get-AbrOntapSecuritySSLDetailed.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrOntapSecuritySSLDetailed {
.DESCRIPTION
.NOTES
Version: 0.6.3
Version: 0.6.4
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand All @@ -24,7 +24,7 @@ function Get-AbrOntapSecuritySSLDetailed {

process {
try {
$Data = Get-NcSecurityCertificate -Controller $Array | Where-Object {$_.Type -eq "server"}
$Data = Get-NcSecurityCertificate -Controller $Array | Where-Object {$_.Type -eq "server" -and $_.Vserver -notin $Options.Exclude.Vserver}
$OutObj = @()
if ($Data) {
foreach ($Item in $Data) {
Expand Down
4 changes: 2 additions & 2 deletions Src/Private/Get-AbrOntapSecuritySSLVserver.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrOntapSecuritySSLVserver {
.DESCRIPTION
.NOTES
Version: 0.6.3
Version: 0.6.4
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand All @@ -24,7 +24,7 @@ function Get-AbrOntapSecuritySSLVserver {

process {
try {
$Data = Get-NcSecuritySsl -Controller $Array
$Data = Get-NcSecuritySsl -Controller $Array | Where-Object {$_.Vserver -notin $Options.Exclude.Vserver}
$OutObj = @()
if ($Data) {
foreach ($Item in $Data) {
Expand Down
4 changes: 2 additions & 2 deletions Src/Private/Get-AbrOntapSysConfigDNS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrOntapSysConfigDNS {
.DESCRIPTION
.NOTES
Version: 0.6.3
Version: 0.6.4
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand All @@ -24,7 +24,7 @@ function Get-AbrOntapSysConfigDNS {

process {
try {
$Data = Get-NcNetDns -Controller $Array
$Data = Get-NcNetDns -Controller $Array | Where-Object {$_.Vserver -notin $Options.Exclude.Vserver}
$OutObj = @()
if ($Data) {
foreach ($Item in $Data) {
Expand Down
2 changes: 1 addition & 1 deletion Src/Public/Invoke-AsBuiltReport.NetApp.ONTAP.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
Get-AbrOntapSysConfigWebStatus
}
}
if (Get-NcNetDns -Controller $Array) {
if (Get-NcNetDns -Controller $Array | Where-Object {$_.Vserver -notin $Options.Exclude.Vserver}) {
Section -Style Heading3 'DNS Configuration' {
Get-AbrOntapSysConfigDNS
}
Expand Down

0 comments on commit a8f2aca

Please sign in to comment.