Virtualization Articles and Resources

SAN Info PowerShell Script



Performs a variety of checks against an ONTAP SAN based system and returns the results in an Excel spreadsheet. Following are the checks involved.


  1. Compare the initiators defined in each igroup against the actual logged in initiators on each node.
  2. Show total number of initiators per LIF.
  3. Gather FCP adapter details that might have a best practice impact.
  4. Compare selective LUN mapping reporting-nodes against the hosting HA pair, other nodes in the cluster, and nodes no longer in the cluster.


Script Information

  • Save script as SANInfo.ps1
  • Learn more about the script with the following:
    get-help .\SANInfo.ps1 -Detailed
  • The script only performs read operations against the cluster to collect data.

Please Note:

All content posted on the NetApp Community is publicly searchable and viewable. Participation in the NetApp Community is voluntary.

In accordance with our Code of Conduct and Community Terms of Use, DO NOT post or attach the following:

  • Software files (compressed or uncompressed)
  • Files that require an End User License Agreement (EULA)
  • Confidential information
  • Personal data you do not want publicly available
  • Another’s personally identifiable information (PII)
  • Copyrighted materials without the permission of the copyright owner

Continued non-compliance may result in NetApp Community account restrictions or termination.


This script is now maintained here: