Remove-SCCloud

Deletes a private cloud from VMM.

Description

The Remove-SCCloud cmdlet deletes a private cloud from System Center Virtual Machine Manager (VMM).

For more information about Remove-SCCloud, type: "Get-Help Remove-SCCloud -online".

Parameters

Cloud

Required? true
Accept Pipeline Input? true (ByValue)
Position? 0
Specifies a private cloud object.

Confirm

Required? false
Accept Pipeline Input? false
Position? named
Prompts for confirmation before running the command.

JobGroup

Required? false
Accept Pipeline Input? false
Position? named
Specifies an identifier for a series of commands that will run as a set just before the final command that includes the same job group identifier runs. 

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. 

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.
Requires a VMM private cloud object, which can be retrieved by using the Get-SCCloud cmdlet.

Examples

1: Delete a specified private cloud.
PS C:\> Get-SCCloud -VMMServer "VMMServer01.Contoso.com -Name "Cloud01" | Remove-SCCloud -Confirm

This command gets the private cloud object named Cloud01 on VMMServer01 and uses the pipeline operator to pass the private cloud object to Remove-SCClout which prompts the user to confirm the action before deleting the private cloud.

See Also