Microsoft Virtualization Discussions

How to check for number of iscsi sessions using powershell or sdcli?

DAVID_PUCKETT_KAREO

Hello,

We have a need to check the number of issues sessions periodically.

Any suggestions on how to do this with powershell or sdcli?

Thanks

1 ACCEPTED SOLUTION

vinith

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


View solution in original post

3 REPLIES 3

vinith

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


View solution in original post

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

Thanks

David

Heres a screen cap for the same.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public