PowerShell

Overwriting a Volume in Windows Server

I have been asked the question about how do you overwrite a volume using the PowerShell SDK that is connected from a Windows Server a few times so here is how [...]

Cisco PowerTool for setting up FlashStack Virtual Server Infrastructure

This is a great example of using the Cisco UCS PowerTool Suite for Microsoft PowerShell to setup a FlashStack. The Cisco UCS manager can be a bit overwhelming [...]

Access FlashBlade using the Pure Storage PowerShell SDK

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 [...]

Using Protection Groups with VSS Snapshots

A common question I get about the Pure Storage Volume Shadow Copy Service (VSS) provider is; "How can I replicate a VSS snapshot?" Our VSS provider takes [...]

New-FlashArrayCapacityReport cmdlet in Pure Storage PowerShell Toolkit 3.3.224.0

[Updated: 2/23/2017, 2/22/2017] New-FlashArrayCapacityReport is a new cmdlet introduced in the Pure Storage PowerShell Toolkit 3.3.224.0. This reports [...]

Pure Storage PowerShell SDK 1.7.4.0 Released

This new release adds support for connecting to Pure Storage FlashArray using IPv6. The only change in the connectivity process using New-PfaArray is using an [...]

Pure Storage PowerShell ISE Add-on

We all have ideas we all come up with daily based on customer interactions, self-learning or working with engineering. But the chance to make one of those [...]

Simple Provisioning Script to Create Multiple Volumes and Adding to a PGroup

Got this question today that a customer was looking for a provisioning script that allowed them to create several hundred volumes with assigned prefixes and [...]

New Release! Pure Storage PowerShell SDK 1.6.6.0

This new release of the Pure Storage PowerShell SDK provides easier access to IO and Space reporting metrics. For those customers that are interested in [...]

Checking for Active Remote Assist Session

Pure Storage support uses Remote Assist to help customers upgrade and troubleshoot should an issue arise. There have been a few requests from our System [...]

Ignite, Ignite, Ignite

Microsoft Ignite is always a great show because I finally get a chance to nerd out with like minded people. This year I am even more excited because of the [...]

Get GitHub Download Release Metrics

Cody Hosterman, Argenis Fernandez and I have posted a lot of content to GitHub and one of the details I always wanted to know was "# of downloads for project [...]

Find All Disconnected Volumes

Updates 5/2/2017 - Added size of disconnected volume output. 5/1/2017 - Fixed bugs. There are many ways to determine what volumes are connected to a host [...]

Pure Storage + HoloLens

I’m so excited, it’s already been fun to develop demos for the capabilities of the Pure Storage platform but now its time for some new demos. First off, [...]

Correlate a Volume to Source Snapshot

I received a request from a customer to determine what snapshot is the source of a created volume. Before I dig into how to determine the correlation using the [...]

PowerShell Remoting…Start Transitioning If You Haven’t

With the upcoming release of Windows Server 2016, Nano Server and all things related to Microsoft Azure learning PowerShell Remoting and start relying less and [...]

Updated Pure Storage PowerShell Toolkit

I have updated the Pure Storage PowerShell Toolkit with a new cmdlet for testing Windows Server settings based on our best practices. The new release can be [...]

New! FlashStack for Microsoft Exchange Server 2013

FlashStack is a flexible, all-flash converged infrastructure solution from Pure Storage® that brings the flash revolution to your data center. It combines the [...]

What Volume is Connected to What Host?

There was a Pure1 Community forum question asking how to identify what volume is connected to what host? Here are some simple scripts to display with no [...]

Demonstration of New Microsoft Azure Integration

During the Pure//Accelerate 2016 conference we announced the  Pure Storage Hybrid All-Flash Cloud with Microsoft Azure. During the conference we presented [...]

Where are the Pure Storage SDKs and Toolkits?

I have received a lot of questions recently about the locations of the various SDKs and Toolkits for the Pure Storage® Windows PowerShell modules. There [...]

New Pure Storage PowerShell SDK Release

Today we released the new Pure Storage® PowerShell SDK 1.5. This new release addresses some core changes to the SDK that include: Upgraded to support [...]

Announcing: Pure Storage All-Flash Cloud for Microsoft Azure

Today is an exciting day at Pure Storage! Holding our 1st User Conference: Pure//Accelerate; announcing new products: FlashArray//m10 and FlashBlade; along [...]

New PowerShell ISE *Preview* & PowerShell Gallery

There are so many great PowerShell development/scripting tools that have been developed offering a wide variety of features for every level of scripter. I’ve [...]

Remove the Windows Features You Don’t Need to Save Some Space

Windows Server comes with a wealth of Roles and Features. In many cases not everyone uses all of the Roles or Features on every server deployed, physical or [...]

How-To: Enabling/Disabling Remote Assist with the PowerShell SDK

A question that is coming up often as more and more customers leverage the Pure Storage PowerShell SDK for automation management is, “How do I control [...]

Kicking the Deployment Tires with Microsoft Nano Server

I finally started playing around with Microsoft Nano Server this past week and am quite amazed at the implementation of this new Windows Server deployment [...]

Pure Storage SMI-S Provider Overview

With the release of Purity 4.6 we introduce support for the Storage Management Initiative Specification (SMI-S).This specification was created by the Storage [...]

Using the PowerShell SDK with System Center 2012 Orchestrator

The Pure Storage PowerShell SDK presents opportunities to automate tasks in a variety of different applications, services and tools. In this post, I want to [...]

Read a Password from a Secure File for use with the PowerShell SDK

Quick post on how to store and retrieve passwords to automate login to the Pure Storage FlashArray using the PowerShell SDK. We will use the basis of a [...]

Getting Started with the Pure Storage PowerShell SDK

A picture (or video in this case) is worth a thousand words. In this video I walk through the following: Installing the Pure Storage PowerShell SDK [...]

Calculating Block Size Using the Powershell SDK

The Pure Storage PowerShell SDK covers all aspects of management and automation for the FlashArray FA-400 series and the FlashArray//m series. In many of the [...]

Pure Storage PowerShell SDK FAQs

I have been fielding a few questions about the new release of the Pure Storage PowerShell SDK and I wanted to share the answers more broadly to ensure everyone [...]

Announcing the New Pure Storage PowerShell SDK

We started supporting automation and management of the Pure Storage FlashArray with Windows PowerShell almost a year ago with the Pure Storage PowerShell [...]

Backup Automation with SQL Server PowerShell and Pure Storage PowerShell

Microsoft SQL Server is one of the primary workloads that Pure Storage customers run on our FlashArray and a frequent question we get is on the topic of [...]

Using FlashRecover Snapshots to Quickly Scale Creating Databases

I recently helped with a simple proof of concept to enable the ability to create a number of SQL Server databases without the need to have the MDF and LDF [...]

Looking for the Pure Storage PowerShell Toolkit?

The PowerShell Toolkit has been moved to a new GitHub repository. With the soon to be released PowerShell SDK coming which provides full support through our [...]

Sneak Peek: Managing a FlashArray//m with the new Pure Storage PowerShell SDK 1.0

There are a lot of exciting things happening at Pure Storage today. Announcing the new FlashArray//m, our new cloud-based management and support with Pure1 and [...]

Developing the Pure Storage PowerShell Toolkit vNext

The history of the Pure Storage PowerShell Toolkit started with some simple work in Windows PowerShell ISE with 5 basic cmdlets (Get-PfaApiToken, [...]

Get the Latest Version of the Pure Storage PowerShell Toolkit

Version 2.8.0.403 was released yesterday with a new SUPER helpful parameter, HttpTimeOut, on for Connect-PfaController cmdlet. I mistakenly introducing a very [...]

Setup Active Directory Integration with the PowerShell Toolkit

Having Active Directory integration certainly helps with organizing users in the various groups to control what actions can be performed on the FlashArray. The [...]

Using the PSCredential Object with the Pure Storage PowerShell Toolkit

A great question came in yesterday about how to use the new –Credential parameter that was implemented in v2.5 Toolkit. Question: What if someone wants to [...]

Compare Windows 2008 R2 to Windows 2012 Storage Cmdlets

Windows Server 2012 and 2012 R2 introduced a new set of storage cmdlets that provided  specific support for disk management, multipath I/O configuration, [...]

Save Get-Help PureStoragePowerShell to PDF

I met with a customer this past week and they asked if we had a copy of all of our PowerShell help in Portable Document Format (PDF). Unfortunately at that [...]

Toolkit Update to 2.6.0.401

I have fixed a minor issue with the toolkit when it comes to figuring out the latest version of the REST API when connecting to a FlashArray. When we [...]

Pure Storage PowerShell Toolkit 2.5.0.324

For those users of the PowerShell Toolkit this release has two significant changes: Support for PSCredential FlashArray parameter is now [...]

3rd Party ISV Integration

As Pure Storage continues to innovate and extend our core platform it provides many opportunities to integrate or automate functional areas. Two publicly [...]

Quick Start Guide for the Pure Storage PowerShell Toolkit

The interest in the PowerShell Toolkit has grown over the last several months and I wanted to take a moment to provide some guidance on how to get started [...]

Using Pure Storage PowerShell with Windows Server 2008 R2

I have received a few questions about using the Pure Storage PowerShell Toolkit with Windows Server 2008 R2 since by default it only comes with Windows [...]

Quick Toolkit Update

I just fixed an issue with the Restore-PfaProtectionGroupVolumeSnapshots cmdlet or alias restorepgsnap. This cmdlet supports restoring volume snapshots from [...]

PowerCLI Actions

I dusted off some of the initial work that we (@CodyHosterman) did with the PowerCLI Actions Fling and initially we had some challenges with our 1.0 toolkit [...]

Toolkit Minor Update

I just uploaded new packages to v2.8.0.430 GitHub (v2.4.0.305). I had some recent exchange with a user of the toolkit and updated a few cmdlets to adhere to [...]

Update-Help Implemented in Pure Storage PowerShell Toolkit

Documentation and examples are what I consider to be the most important element to any PowerShell library. Although I implemented a comprehensive Get-Help [...]

Restoring Protection Group Volume Snapshots

FlashRecover protection groups can be defined at all the different object levels the FlashArray supports; volumes, hosts and host groups. Whenever a snapshot [...]

Setting up SAN boot for an 8-Node Windows Server Cluster

Worked in the lab this past weekend setting up a new Windows Server 2012 R2 failover cluster (WSFC) using 8 diskless servers. SAN booting provides the ultimate [...]

Setup Replication Connections using PowerShell

Now that the new toolkit has been released its time to start with an example of using some of the new cmdlets. The focus of this post is setting up [...]

Pure Storage PowerShell Toolkit v2.0 Released!

The long awaited update for the PowerShell Toolkit is now available. I track issues and/or suggestions via GitHub. I have implemented about 95%+ of the current [...]

How is the Pure Storage PowerShell Toolkit being used?

[Updated: 5/16/2017] I created the Pure Storage PowerShell Toolkit with two major goals; (1) as a way to automate the various operational tasks to manage [...]

Retrieving LUN Serial Numbers with Windows PowerShell

Updated -- March 12, 2016 I have been asked this question more than I have fingers and toes so I figured I would do a quick post providing the Windows [...]

SQL Server 2014 Prod/Dev Refresh with VMware PowerCLI and Pure Storage PowerShell Toolkit

One of the demonstrations that I created for VMworld 2014 was to create a simple orchestration for refreshing a SQL Server 2014 database volume and [...]

Pure Storge PowerShell Toolkit Enhancements

Lots of updates since forking the repository over to [...]

UPDATE: Pure Storage PowerShell Toolkit Moved and Forked

Update: I was always told things come full circle. The Pure Storage PowerShell Toolkit has been transitioned back to my personal GitHub [...]

Pure Storage PowerShell Toolkit 1.0

I am happy to announce the release of the 1.0 version of the Pure Storage PowerShell Toolkit for use with the Purity 4.0 and the REST API 1.2. The [...]

Application Consistency with Pure Storage VSS Provider

With the release of the Purity Operating Environment 4.0 comes the new Pure Storage Volume Shadow Copy Service Provider (Pure VSS Provider). The Pure VSS [...]

Pure Storage REST API + Windows PowerShell (Part 2)

In my Part 1 post I discussed the basics of how to use the REST API with the Post method to authenticate and establish a session then using the Get method [...]

New Best Practice Guide for Windows Server and Pure Storage FlashArrays

New Microsoft Windows Server Best Practice Guide for Pure Storage FlashArray’s is available. This is the first version that focuses solely on Windows [...]

Pure Storage REST API + Windows PowerShell (Part 1)

After a brief hiatus I’m back and to start things off I wanted to share an example of how to use the new REST API we have created as part of our Purity [...]

Set RD, IEESec, Firewall and MPIO Quickly

As I add more virtual machines and physical servers to my Microsoft environment there are a few Windows features/settings I tend to always tweak for my own [...]

Get Quick Fix Engineering (QFE) Information

Recently I have been tracking down all the updates that I have applied to various Windows machines (servers and clients) in my pod and figured I'd share the [...]

Attach/Detach SQL Server Databases with PowerShell

While working on the early testing for the SQL Server 2012 Reference Architecture I had to create some scripts to automate the attaching and detaching of SQL [...]

Simple Snapshot & Retention Management with PowerShell

In my last post I discussed how take snapshots, connect hosts and then work with the connected Windows hosts to bring disks online. In this post I show how to [...]

Windows PowerShell + Purity CLI = Invoke-PureVolSnap

I’ve been focusing on some automation scripts over the last week and have come up with a first generation (v0.1) script that shows yes Windows PowerShell and [...]

Get HBA information using Windows PowerShell

I was setting up a new Pure Storage FA-420 array this past week and needed the Host Bus Adapter (HBA) information, specifically the WWNodeName and WWPortName [...]