Deletes a storage classification object from the VMM database.
Description
The Remove-SCStorageClassification cmdlet deletes a storage classification object from the System Center Virtual Machine Manager (VMM) database. Deleting a storage classification removes the associations that storage classification had with any storage pools.
For more information about Remove-SCStorageClassification, type: "Get-Help Remove-SCStorageClassification -online".
Parameters
StorageClassification
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
0
Specifies a storage classification object.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
The first command gets the first item in the storage classification array and stores it in the $Class variable.
The second command removes the storage classification stored in the $Class variable.