New-StorageGroup

SYNOPSIS

Creates a storage group.

SYNTAX

New-StorageGroup [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-Id] <String> [-SRP <String>]
 [-SLO <String>] [-NoCompression] [-SnapshotPolicyId <String[]>] [-Confirm] [-WhatIf] [<CommonParameters>]

DESCRIPTION

Creates an empty storage group. Optionally set SRP, SLO, compression and snapshot policy on the storage group. SLO cannot be set when SRP is None. Compression is enabled by default and only on FAST managed storage group.

EXAMPLES

Example 1

PS C:\> New-StorageGroup -Unisphere $unisphere -ArrayId 000123456789 -Id sg1

Where $unisphere is a Unisphere server instance. Creates an empty storage group named sg1 with None as SRP and SLO, and compression disabled.

Example 2

PS C:\> New-StorageGroup -Unisphere $unisphere -ArrayId 000123456789 -Id sg1 -SRP SRP_1 -SLO Diamond

Where $unisphere is a Unisphere server instance. Creates an empty storage group named sg1 with SRP_1 as SRP, Diamond as SLO and compression enabled.

Example 3

PS C:\> New-StorageGroup -Unisphere $unisphere -ArrayId 000123456789 -Id sg1 -SRP SRP_1 -SLO Gold -NoCompression

Where $unisphere is a Unisphere server instance. Creates an empty storage group named sg1 with SRP_1 as SRP, Gold as SLO and compression disabled.

PARAMETERS

-Unisphere

The Unisphere server object.

Type: UnisphereServer
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-ArrayId

The PowerMax array ID.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Id

Storage group ID.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SRP

Storage resource pool.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SLO

Service level.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-NoCompression

Disables compression on storage group if specified. Compression is disabled by default on non-FAST managed storage group.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SnapshotPolicyId

The snapshot policy ID.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Dell.PowerMax.Management.Model.UnisphereServer

System.String

OUTPUTS

Dell.PowerMax.Management.Model.StorageGroup

NOTES