Create a Volume Set

Microsoft Platform Guide

Audience
Public
Source Type
Documentation

Creating a new Volume Set is achieved by executing the cmdlet New-PsbVolumeSet.

TIP One way of adding a credential to a secure variable is by assigning get-credential to a variable. $credentialvariable = Get-Credential

The example below creates a new Volume Set for a VMware VM using vVol disks.

New-PsbVolumeSet -VolumeSetName volset136 -ComputerAddress $vmname -ComputerCredential $vmCredential -FlashArrayAddress $FADNS -FlashArrayCredential $FlashArrayCredential -Path 'h:\,F:\' -VCenterAddress $vCenterEndpoint -vCenterCredential $vCenterCredential -VMName $vmname -VMPersistentID $VMPID -VolumeType vVol

Note:

Create a replication target, automatic snapshot generation, and retention policies for the Protection Group in the FlashArray UI or utilizing the PureStoragePowerShellSDK2.