Data ONTAP® PowerShell Toolkit

Cmdlet: Get-NaIscsiTargetPortalGroup


NAME
Get-NaIscsiTargetPortalGroup

SYNOPSIS
List information about iSCSI target portal groups.

SYNTAX
Get-NaIscsiTargetPortalGroup [[-Tag] <Int32>] [-Controller <NaController>] [
-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParam
eters>]


DESCRIPTION
List information about iSCSI target portal groups.


PARAMETERS
-Tag <Int32>
Portal group being queried; if not supplied, information on all portal g
roups is returned

Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningAction <ActionPreference>


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable <String>


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
NetApp.Ontapi.Filer.Iscsi.IscsiTpgroupListEntryInfo


NOTES


Category: iscsi
API: iscsi-tpgroup-list-info

-------------- Example 1 --------------

C:\PS>Get-NaIscsiTargetPortalGroup


List all target portal groups.


InterfaceListEntries : {e0a}
TpgroupAluaPreferred : False
TpgroupAluaState : optimized
TpgroupName : e0a_default
TpgroupTag : 1000
TpgroupAluaPreferredSpecified : True

InterfaceListEntries : {e0b}
TpgroupAluaPreferred : False
TpgroupAluaState : optimized
TpgroupName : e0b_default
TpgroupTag : 1001
TpgroupAluaPreferredSpecified : True

InterfaceListEntries : {e0c}
TpgroupAluaPreferred : False
TpgroupAluaState : optimized
TpgroupName : e0c_default
TpgroupTag : 1002
TpgroupAluaPreferredSpecified : True

InterfaceListEntries : {e0d}
TpgroupAluaPreferred : False
TpgroupAluaState : optimized
TpgroupName : e0d_default
TpgroupTag : 1003
TpgroupAluaPreferredSpecified : True


-------------- Example 2 --------------

C:\PS>Get-NaIscsiTargetPortalGroup 1000


Get iSCSI target portal group with group tag '1000'.


InterfaceListEntries : {e0a}
TpgroupAluaPreferred : False
TpgroupAluaState : optimized
TpgroupName : e0a_default
TpgroupTag : 1000
TpgroupAluaPreferredSpecified : True



RELATED LINKS
New-NaIscsiTargetPortalGroup
Remove-NaIscsiTargetPortalGroup







 Data ONTAP® PowerShell Toolkit