Remove-DatastoreCluster

This cmdlet deletes the specified datastore clusters.

Syntax

-DatastoreCluster  <DatastoreCluster[]>
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
DatastoreCluster
DatastoreCluster[] named
  • pipeline
  • Specifies the datastore cluster that you want to remove.
    optional
    Server
    VIServer[] named Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.

    Output

    Examples


    Example 1

    Get-DatastoreCluster -Name 'MyDatastoreCluster' | Remove-DatastoreCluster -Confirm $false

    Removes the specified datastore cluster without asking for confirmation.

    Related Commands

    Feedback

    Was this page helpful?