AsBuiltReport / AsBuiltReport.NetApp.ONTAP

A PowerShell module to generate an as built report on the configuration of NetApp ONTAP storage arrays.
MIT License
15 stars 3 forks source link

Fix Condition to non API to make sure pre Ontap 9.6 support #1

Closed rebelinux closed 3 years ago

rebelinux commented 3 years ago

https://github.com/rebelinux/AsBuiltReport.NetApp.ONTAP/blob/5a43c18c8815572cd127b025c0bdccf0286fa12a/Src/Public/Invoke-AsBuiltReport.NetApp.ONTAP.ps1#L416-L416

rebelinux commented 3 years ago

if (Get-NcVserver | Where-Object { $.VserverType -eq 'data' -and $.AllowedProtocols -eq 'cifs' -and $_.State -eq 'running' } | Get-NcCifsServerStatus)