Access FlashBlade with the Pure Storage PowerShell SDK

Discover how to manage Pure Storage FlashArray and FlashBlade systems with PowerShell, from legacy CLI cmdlets to modern tools like the FlashBlade PowerShell Toolkit and SDK 2.x, for efficient, scalable storage management.

PowerShell SDK

Summary

This blog explores the evolution of Pure Storage PowerShell tools, from the CLI cmdlet in SDK 1.7.4.0 to the advanced FlashBlade PowerShell Toolkit and SDK 2.x, empowering administrators with modern, efficient storage management and automation capabilities.

image_pdfimage_print

In the latest release of the PowerShell SDK (1.7.4.0) we included a new cmdlet for sending CLI commands to the FlashArray. We added this cmdlet in case any new REST APIs had not been integrated into the PowerShell SDK and customers/partners wanted to access a direct CLI command. You can pass a CLI command and we establish the SSH session, execute the command and then return the results as a PSObject.

Updated Tools and Features for Managing FlashBlade with PowerShell

As technology evolves, so do the tools for managing Pure Storage systems, including FlashBlade. Since the original publication of this blog, new developments in the Pure Storage PowerShell SDK and the introduction of the FlashBlade PowerShell Toolkit have enhanced the capabilities available to administrators. Below, we outline the latest tools and features you need for efficient FlashBlade management using PowerShell in 2025.

1. Pure Storage FlashBlade PowerShell Toolkit

The FlashBlade PowerShell Toolkit, available on GitHub, is a purpose-built module for interacting with FlashBlade systems. It leverages FlashBlade’s REST API to provide a wide range of cmdlets for streamlined array management. Key benefits include:

  • Direct API Integration: Simplifies operations with cmdlets explicitly designed for FlashBlade.
  • Expanded Functionality: Supports tasks such as volume management, object storage operations, and replication configuration.
  • Cross-Platform Support: Compatible with Windows, Linux, and macOS via PowerShell Core.
Example Usage:

To retrieve a list of file systems from your FlashBlade array:

2. Pure Storage PowerShell SDK 2.x

The latest version of the PowerShell SDK for FlashArray and FlashBlade introduces modernized features and broader compatibility:

  • OAuth Authentication: Enhanced security for connecting to storage arrays.
  • PowerShell Pipeline Support: Enables chaining cmdlets for more intuitive scripting.
  • Cross-Platform Support: Works with PowerShell 7+, ensuring compatibility with modern environments.
  • Improved Performance: Optimized for the latest Pure Storage firmware and APIs.
Example Usage:

Using the updated SDK to monitor storage performance:

3. Additional Enhancements

  • Automation and Orchestration: Leverage PowerShell in combination with tools like Ansible, Terraform, or CI/CD pipelines for end-to-end automation of FlashBlade deployments and configurations.
  • NVMe-over-Fabrics Support: Explore integration with NVMe-oF for advanced storage performance and efficiency.

Recommendations for Administrators

  • Upgrade Your Tools: Ensure you are using the latest version of the FlashBlade PowerShell Toolkit or the Pure Storage PowerShell SDK to access new features and maintain compatibility with modern infrastructure.
  • Integrate with Modern Systems: Consider using these tools alongside modern DevOps practices to streamline operations and reduce administrative overhead.
  • Explore Documentation: Visit Pure Storage’s GitHub repository and official resources for the most current modules, scripts, and usage examples.

By incorporating these tools and practices, you can future-proof your FlashBlade management workflows while maximizing the efficiency and performance of your storage infrastructure.

Example

Output

Now for the cool “side effect” you can use the very same cmdlet to access a FlashBlade! Below is a simple example of querying information from the FlashBlade.

For Previous Versions

Example1

Output Example1

Example2

Output Example2

Hopefully this opens us some automation scenarios for those FlashBlade customers.

Conclusion

While this initial cmdlet provided flexibility for accessing commands not yet integrated into the REST API, advancements in PowerShell SDKs and the release of the FlashBlade PowerShell Toolkit have significantly expanded the capabilities for managing Pure Storage systems in 2025.

Administrators now have access to dedicated tools like the FlashBlade PowerShell Toolkit, offering purpose-built cmdlets for streamlined FlashBlade operations, and the PowerShell SDK 2.x, which supports modern authentication methods, cross-platform functionality, and enhanced performance. These advancements, combined with modern DevOps tools and methodologies, provide a robust framework for automating and managing Pure Storage environments efficiently.

Whether you’re maintaining legacy systems or deploying cutting-edge infrastructure, adopting the latest PowerShell tools and practices ensures compatibility, security, and scalability. As you integrate these solutions, you’ll unlock new possibilities for performance optimization and simplified management, future-proofing your storage workflows for years to come.

How the Right Storage Plays a Role in Optimizing Database Environments