Skip to content

Commit 7d1c25b

Browse files
authored
Update Invoke-AsBuiltReport.NetApp.ONTAP.ps1
add Admin Vserver security information in report
1 parent c50a3a9 commit 7d1c25b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
606606
#---------------------------------------------------------------------------------------------#
607607
Write-PScriboMessage "Security InfoLevel set at $($InfoLevel.Security)."
608608
if ($InfoLevel.Security -gt 0) {
609-
$Vservers = Get-NcVserver -Controller $Array | Where-Object { $_.VserverType -eq "data" -and $_.Vserver -notin $Options.Exclude.Vserver } | Select-Object -ExpandProperty Vserver
609+
$Vservers = Get-NcVserver -Controller $Array | Where-Object { $_.VserverType -eq "data" -or $_.VserverType -eq "admin" -and $_.Vserver -notin $Options.Exclude.Vserver } | Select-Object -ExpandProperty Vserver
610610
Section -Style Heading2 'Security Information' {
611611
Paragraph "The following section provides the Security related information on $($ClusterInfo.ClusterName)."
612612
BlankLine

0 commit comments

Comments
 (0)