The volumes that will be used in the examples are based on the NTFS and ReFS file systems. The host that will be used is named SERVER01 and is running Windows Server 2016 with Windows PowerShell 5.0.
Note:
Following the Windows PowerShell examples assumes that the Everpure PowerShell SDK has been installed. If the PowerShell SDK has not been installed please see the Pure1 Support > Programming Interfaces > PowerShell to get started.
1. Start a new Windows PowerShell session or open the PowerShell Integrated Scripting Environment (ISE).
2. Create a connection to the FlashArray.
$FlashArray = New-PfaArray -EndPoint 10.1.1.1 -Credentials (Get-Credential) -IgnoreCertificateError
PS C:\> $FlashArray
Disposed : False
EndPoint : 10.1.1.1
UserName : pureuser
ApiVersion : 1.7
Role : ArrayAdmin
ApiToken : 58db6abf-1933-553f-1628-0c6e207aba1e
3. Create two new volumes named ReFS and NTFS.
New-PfaVolume -Array $FlashArray -VolumeName 'ReFS' -Unit T -Size 1
New-PfaVolume -Array $FlashArray -VolumeName 'NTFS' -Unit T -Size 1
source :
serial : 45084F3508BF461400011ACB
created : 2017-05-23T21:46:04Z
name : ReFS
size : 1099511627776
source :
serial : 45084F3508BF461400011ACC
created : 2017-05-23T21:46:04Z
name : NTFS
size : 1099511627776