This is the built-in help made by Microsoft for the command 'Get-IscsiSession', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Retrieves information about established iSCSI sessions.
Get-IscsiSession [-AsJob] [-CimSession <CimSession[]>] [-IscsiTargetPortal <CimInstance>] [-NumberOfConnections <UInt32[]>] [-ThrottleLimit
<Int32>] [<CommonParameters>]
Get-IscsiSession [-AsJob] [-CimSession <CimSession[]>] [-NumberOfConnections <UInt32[]>] [-SessionIdentifier <String[]>]
[-TargetSideIdentifier <String[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Get-IscsiSession [-AsJob] [-CimSession <CimSession[]>] [-IscsiTarget <CimInstance>] [-NumberOfConnections <UInt32[]>] [-ThrottleLimit <Int32>]
[<CommonParameters>]
Get-IscsiSession [-AsJob] [-CimSession <CimSession[]>] [-InitiatorSideIdentifier <String[]>] [-NumberOfConnections <UInt32[]>] [-ThrottleLimit
<Int32>] [<CommonParameters>]
Get-IscsiSession [-AsJob] [-CimSession <CimSession[]>] [-InitiatorPort <CimInstance>] [-NumberOfConnections <UInt32[]>] [-ThrottleLimit
<Int32>] [<CommonParameters>]
Get-IscsiSession [-AsJob] [-CimSession <CimSession[]>] [-Disk <CimInstance>] [-NumberOfConnections <UInt32[]>] [-ThrottleLimit <Int32>]
[<CommonParameters>]
Get-IscsiSession [-AsJob] [-CimSession <CimSession[]>] [-IscsiConnection <CimInstance>] [-NumberOfConnections <UInt32[]>] [-ThrottleLimit
<Int32>] [<CommonParameters>]
The Get-IscsiSession cmdlet returns information about iSCSI sessions.
Note: There is an association between the iSCSI session and the disk object, so it is possible to return all disks connected via a specific
iSCSI session by running the following cmdlet.
- Get-iSCSISession | Get-Disk
<
iSCSI on TechNet
Storage on TechNet
Get-IscsiConnection
Get-IscsiTarget
Get-IscsiTargetPortal
Get-Disk
Get-InitiatorPort
N:MPIO
N:Storage
<
EXAMPLE 1
PS C:\>Get-IscsiSession
AuthenticationType : NONE
InitiatorInstanceName : ROOT\ISCSIPRT\0000_0
InitiatorNodeAddress : iqn.1991-05.com.microsoft:deepcore.contoso.com
InitiatorPortalAddress :
InitiatorSideIdentifier : 400001370001
IsConnected : True
IsDataDigest : False
IsDiscovered : True
IsHeaderDigest : False
IsMultipathEnabled : False
IsPersistent : True
NumberOfConnections : 1
SessionIdentifier : fffffa800d008430-4000013700000001
TargetNodeAddress : iqn.1991-05.com.contoso:testiscsi-deepcore-target
TargetSideIdentifier : 0200
AuthenticationType : NONE
InitiatorInstanceName : ROOT\ISCSIPRT\0000_0
InitiatorNodeAddress : iqn.1991-05.com.contoso:deepcore.contoso.com
InitiatorPortalAddress :
InitiatorSideIdentifier : 400001370004
IsConnected : True
IsDataDigest : False
IsDiscovered : True
IsHeaderDigest : False
IsMultipathEnabled : False
IsPersistent : True
NumberOfConnections : 1
SessionIdentifier : fffffa800d008430-4000013700000002
TargetNodeAddress : iqn.1991-05.com.contoso:testiscsi-deepcore-target
TargetSideIdentifier : 0100
AuthenticationType : NONE
InitiatorInstanceName : ROOT\ISCSIPRT\0000_0
InitiatorNodeAddress : iqn.1991-05.com.contoso:deepcore.contoso.com
InitiatorPortalAddress :
InitiatorSideIdentifier : 400001370002
IsConnected : True
IsDataDigest : False
IsDiscovered : True
IsHeaderDigest : False
IsMultipathEnabled : False
IsPersistent : True
NumberOfConnections : 1
SessionIdentifier : fffffa800d008430-4000013700000003
TargetNodeAddress : iqn.1991-05.com.contoso:testiscsi-deepcore-target
TargetSideIdentifier : 0300