New-SdIgroup
Creates a new igroup.
Syntax
New-SdIgroup [-Name] <String> [-Protocol] <String> [-Type] <String> [-PortSet] <String> [-Initiators] <String[]> [-StorageSystem] <String> [-Session] <String> [-Host] <String>
Detailed Description
Creates a new igroup.
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
Name |
Specifies the name for your new igroup. |
true |
true (ByPropertyName) |
|
Protocol |
Specifies the protocol you want to use with your new igroup. |
true |
true (ByPropertyName) |
|
Type |
Specifies the type of igroup you want to create. |
false |
true (ByPropertyName) |
|
PortSet |
Specifies the portset to which you want to add your igroup. |
false |
true (ByPropertyName) |
|
Initiators |
Specifies any initiators you want to and to your igroup. |
false |
true (ByPropertyName) |
|
StorageSystem |
Specifies the storage system on which you want your igroup to reside. |
true |
true (ByPropertyName) |
|
Session |
Specifies the session ID from Open-SmConnection. |
false |
true (ByPropertyName) |
|
Host |
Specifies the name or IP address of the host on which you execute the operation. The default is your local machine. |
false |
true (ByPropertyName) |
Examples
Example 1: Creating a new igroup
PS C:\> New-SdIgroup -Name IG_Demo -StorageSystem 172.17.168.13 -Initiators iqn.1991-05.com.microsoft:mva-s24-rx200.sddev.mycompany.com -Protocol mixed
This example syntax creates a new mixed protocol igroup on the specified storage system.