New-SCStorageClassification

Creates a storage classification.

Syntax

New-SCStorageClassification [-Description <String>] [-JobVariable <String>] -Name <String> [-PROTipID <Guid>]
 [-RunAsynchronously] [-VMMServer <ServerConnection>] [<CommonParameters>]

Description

The New-SCStorageClassification cmdlet creates a storage classification. A storage classification defines the capabilities of a storage pool. For example, a classification of Gold could be associated with storage pools that have the highest performance and availability.

For information about associating a storage classification with a storage pool, see the Set-SCStoragePool cmdlet.

Examples

Example 1: Create a storage classification

PS C:\> $Class = New-SCStorageClassification -Name "StorageClassification01" -Description "New storage classification"

This command creates a storage classification named StorageClassification01, and then stores it in the $Class variable.

Parameters

-Description

Specifies a description for the storage classification.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-JobVariable

Specifies the name of a variable in which job progress is tracked and stored.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of the storage classification.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PROTipID

Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.

Type:Guid
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMMServer

Specifies a Virtual Machine Manager (VMM) server object.

Type:ServerConnection
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Outputs

StorageClassficiation

This cmdlet returns a **StorageClassficiation** object.