PowerShell Logo Small

Register-IscsiSession



This is the built-in help made by Microsoft for the command 'Register-IscsiSession', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 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.

SYNOPSIS

Registers an active iSCSI session to be persistent using the session identifier as input.

SYNTAX


Register-IscsiSession [-AsJob] [-ChapSecret <String>] [-ChapUsername <String>] [-CimSession <CimSession[]>] [-IsMultipathEnabled <Boolean>] [-PassThru] [-ThrottleLimit
<Int32>] -SessionIdentifier <String[]> [<CommonParameters>]
Register-IscsiSession [-AsJob] [-ChapSecret <String>] [-ChapUsername <String>] [-CimSession <CimSession[]>] [-IsMultipathEnabled <Boolean>] [-PassThru] [-ThrottleLimit
<Int32>] -InputObject <CimInstance[]> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Register-IscsiSession cmdlet registers an existing iSCSI session to make it persistent. Once an iSCSI session is registered, it will automatically attempt to reconnect
on reboot.


Note: Registering a connection multiple times will automatically re-establish multiple sessions for use with Multipath I/O (MPIO).



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/?linkid=289563
iSCSI on TechNet
Storage on TechNet
N:MPIO
N:Storage



REMARKS

<

Examples


EXAMPLE 1

PS C:\>Register-IscsiSession -SessionIdentifier fffffa800d008430-4000013700000001



This example registers the iSCSI session with the session ID fffffa800d008430-4000013700000001 to be persistent across reboots.