PowerShell Logo Small

Remove-IscsiTargetPortal



This is the built-in help made by Microsoft for the command 'Remove-IscsiTargetPortal', 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.

SYNOPSIS

Removes the specified iSCSI target portal.

SYNTAX


Remove-IscsiTargetPortal [-AsJob] [-CimSession <CimSession[]>] [-InitiatorInstanceName <String>] [-InitiatorPortalAddress <String>]
[-PassThru] [-TargetPortalPortNumber <Int32>] [-ThrottleLimit <Int32>] -TargetPortalAddress <String[]> [-Confirm] [-WhatIf]
[<CommonParameters>]
Remove-IscsiTargetPortal [-AsJob] [-CimSession <CimSession[]>] [-InitiatorInstanceName <String>] [-InitiatorPortalAddress <String>]
[-PassThru] [-TargetPortalPortNumber <Int32>] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-IscsiTargetPortal cmdlet removes an existing iSCSI target portal connection.



<

RELATED LINKS


iSCSI on TechNet
Storage on TechNet
N:MPIO
N:Storage



REMARKS

<

Examples


Example 1

PS C:\>Get-IscsiTargetPortal
InitiatorInstanceName :
InitiatorNodeAddress :
InitiatorPortalAddress :
InititorIPAdressListNumber : 4294967295
IsDataDigest : False
IsHeaderDigest : False
TargetPortalAddress : testIscsi
TargetPortalPortNumber : 3260


PS C:\>Remove-IscsiTargetPortal -TargetPortalAddress testIscsi



This example removes the target portal specified