Skip to main content
Pure1 Support Portal

Windows PowerShell Integrated Scripting Environment (ISE)

The Pure Storage PowerShell SDK can be used with the Windows PowerShell console or the Integrated Scripting Environment (ISE). The ISE provides scripting, debugging and a console window for working on scripts. The ISE is the best tool for script development as it comes native with Windows and Windows Server and provides all of the basic development features. 

Once the PowerShell SDK has been installed on a Windows or Windows Server system the Command Add-on can be used to view all of the cmdlets and their parameters. The below screenshot shows the Command Add-on with the PureStoragePowerShellSDK Module selected. The New-PfaArray cmdlet is selected and the various methods for Connecting to the FlashArray are shown; ApiToken, Credentials and UserName with the different parameters.

When first learning the PowerShell SDK it is highly recommended to use the ISE as scripts are developed for sharing with others or saving scripts in progress.