Create FlashArray Volume(s)

Microsoft Platform Guide

Audience
Public
Source Type
Documentation

The volume that will be used in the example are based on the NTFS file systems. The host that will be used is named SERVER08 and is running Windows Server 2008 R2 with Windows PowerShell 3.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 NTFS.


New-PfaVolume -Array $FlashArray -VolumeName 'NTFS' -Unit T -Size 1

source  : 
serial  : 45084F3508BF461400011ACC
created : 2017-05-23T21:46:04Z
name    : NTFS
size    : 1099511627776