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 PowerShell 2.0. The simple answer is yes, with a few installation updates. Here are the steps that need to followed to get the toolkit running on Windows Server 2008 R2.


  1. Use an existing (or setup a new) installation of Windows Server 2008 R2 (SP1/SP2). This can be a virtual or physical instance. Be sure you are logged in as Administrator in order to install the software in Step 2 – 4.
  2. Download/install .NET Framework 4.0, This is required for Windows PowerShell 3.0 (Windows Management Framework 3.0).
  3. Download/install Windows Management Framework 3.0,
  4. Download/install Pure Storage PowerShell Toolkit
  5. After all of the installations (and reboots) open up a Windows PowerShell session with Run as Administrator, or you can open up Windows PowerShell ISE as Administrator.
  6. In the Windows PowerShell session enter the following commands.
    Note: Be sure to change the –FlashArray parameter with your appropriate IP address or DNS name.
Import-Module PureStoragePowerShell

Update-Help PureStoragePowerShell

$T = Get-PfaApiToken -FlashArray -Username pureuser -Password pureuser
$S = Connect-PfaController -FlashArray -API_Token $T.api_token

Get-PfaVolumes -FlashArray -Session $S | Format-Table -AutoSize

Example of the toolkit working on Windows Server 2008 R2.


Add Comment

Required fields are marked *. Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.