New-SCStorageClassification

Creates a storage classification.

Syntax

New-SCStorageClassification
   [-VMMServer <ServerConnection>]
   -Name <String>
   [-Description <String>]
   [-RunAsynchronously]
   [-PROTipID <Guid>]
   [-JobVariable <String>]
   [<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.

Required Parameters

-Name

Specifies the name of the storage classification.

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

Optional Parameters

-Description

Specifies a description for the storage classification.

Type:String
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
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
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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMMServer

Specifies a Virtual Machine Manager (VMM) server object.

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

Outputs

StorageClassficiation

This cmdlet returns a StorageClassficiation object.