New-DatastoreCluster

This cmdlet creates a new datastore cluster. By default, Storage DRS is disabled. To enable Storage DRS, run Set-DatastoreCluster.

Syntax

-Location  <VIContainer>
-Name  <String>
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Location
VIContainer named
  • pipeline
  • Specifies a container object (Datacenter or Folder) where you want to place the new datastore cluster.
    required
    Name
    String named Specifies a name for the datastore cluster that you want to create.
    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

    VMware.VimAutomation.ViCore.Types.V1.DatastoreManagement.DatastoreCluster

    Examples


    Example 1

    New-DatastoreCluster -Name 'MyDatastoreCluster' -Location 'MyDatacenter'

    Creates a new datastore cluster on the specified datacenter.

    Related Commands

    Feedback

    Was this page helpful?