Skip to main content
Pure1 Support Portal

Pure Storage PowerShell SDK FAQs

With the release of the new Pure Storage PowerShell SDK there have been many questions about the differences between the PowerShell Toolkit and the PowerShell SDK. The following FAQs should help clear up any confusion. 

PowerShell SDK FAQ

PowerShell SDK is a replacement of PowerShell Toolkit [PSTK] and will be the preferred way to develop (at least it works without PSTK) but, if I prefer using SDK, I actually do not need PSTK anymore, is this true?

Yes and No. The PowerShell SDK is the preferred PowerShell module to use for automation development. The Toolkit is taking on a new life with value add cmdlets that have been developed to support different scenarios and applications like SQL Server, VMware, HyperV, Windows Server, best practice checkers, etc. The new Toolkit 3.0 is still under development which leverages the PowerShell SDK in some cases.

Has the Pure Storage PowerShell Toolkit been deprecated?

The PowerShell Toolkit 2.8.0.430 is the last version of the PSTK to be released. The PSTK 2.8 was the initial version of Pure Storage PowerShell cmdlets that used our REST API to manage the FlashArray family. There are many customers currently using the PSTK 2.8 and this version will remain available through the period of transition and script migration to the new SDK. A new version of the Toolkit is under development and will provide more value added cmdlets that help with Windows Server, SQL Server, VMware along with best practice validation cmdlets. 

Pure Storage PowerShell Toolkit 3.0 is not ready yet, based on the SDK doc, I also checked online and could not download it from GitHub, is that a place holder at the moment? 

Correct the new Toolkit 3.0 is not available as of yet as it is still under development. The new version of the Toolkit as with previous versions will remain open source via GitHub. The purpose of the new Toolkit remaining with an open source focus is for everyone to be able to take advantage of our work. All of the functional cmdlets that will be provided in the Toolkit are public knowledge and can be shared with anyone. 

Even when the Pure Storage PowerShell Toolkit 3.0 is available, it will be based on the SDK just released (v1.0.15.0) and on REST API, so, it will not have anything new other than what is included in the SDK?

The new Toolkit 3.0 will have the value added cmdlets as mentioned above which leverage the plethora of core Windows and application cmdlets available from Microsoft. Additionally the Toolkit 3.0 will also provide some additional encapsulation of PowerShell SDK cmdlets to assist with more streamlined operations and scenarios. Again open source so individuals can use the work from the Toolkit and customize for individual environments. 

I need to make a decision which tool I need to use since all my code now is based on Pure Storage PowerShell Toolkit [PSTK] or RESTAPI directly.

The PowerShell SDK is a long time in the making and I am grateful (and proud) that our Pure Storage engineering team worked to develop this “official” module for Pure Storages’ support of Windows PowerShell. Moving forward we will be making updates to the PowerShell SDK as we continue to evolve the REST API. In addition to the investment of building the new PowerShell SDK we have to enable many new options for reporting which our customers find valuable. For example we have many new “Metric” cmdlets that can be viewed using Get-Command -Module PureStoragePowerShellSDK “*Metric*.”