We have a need to check the number of issues sessions periodically.
Any suggestions on how to do this with powershell or sdcli?
Hello David, You can use Get-NaHostIscsiSession to get current iSCSI sessions on the host machine.
You can get detailed help for this cmdlet using
PS C:\Windows\system32> Get-Help Get-NaHostIscsiSession -Detailed
Installed: Data ONTAP PowerShell Toolkit v2.3
Module Imported: Import-module DataONTAP
Command works: Get-NaHostIscsiSession
Now working on a powershell script to check the number of iscsi session from servers to storage and put that into PRTG
Heres a screen cap for the same.