## PowerCLI Reference

# Get-VsanIscsiInitiatorGroup

## Synopsis

This cmdlet retrieves vSAN iSCSI initiator groups.

Syntax

Get-VsanIscsiInitiatorGroup [[-Name] <String[]>] [-Cluster <Cluster[]>] [-Server <VIServer[]>] [<CommonParameters>]
Get-VsanIscsiInitiatorGroup -Id <String[]> [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online version
New-VsanIscsiInitiatorGroup
Remove-VsanIscsiInitiatorGroup
Set-VsanIscsiInitiatorGroup

Detailed Description

This cmdlet retrieves vSAN iSCSI initiator groups.

Parameters

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
Name | String[] | Filters the retrieved initiator groups by name. | false | false
Cluster | Cluster[] | Specifies the list of clusters to query for initiator groups. | false | true (ByValue)
Id | String[] | Filters the retrieved initiator groups by ID. | true | false
Server | VIServer[] | Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. | false | false

Return Type

Zero or more VsanIscsiInitiatorGroup objects

Notes

Examples

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

    Get-VsanIscsiInitiatorGroup -Cluster "vsan-cluster"

Retrieves all vSAN iSCSI initiator groups from the "vsan-cluster" cluster.

Copyright © VMware, Inc. All rights reserved.