To help our customers I have written a module that includes a lot of the common operations people might need to “connect” PowerCLI to our PowerShell SDK.
Latest version 18.104.22.168 (May 21st, 2020)
The module is called PureStorage.FlashArray.VMware.
To report issues or request new features, please enter them here:
For questions, join our Pure Storage Code Slack team! Check out the #PowerCLI channel
The module is designed into six separate modules that are included when you install the main one:
- PureStorage.FlashArray.VMware.Configuration –this does connection management, host configuration, and generic initial setup.
- PureStorage.FlashArray.VMware.VMFS–this offers VMFS-related cmdlets
- PureStorage.FlashArray.VMware.vVol–this offers vVol-related cmdlets
- PureStorage.FlashArray.VMware.RDM–this offers RDM-related cmdlets
- PureStorage.FlashArray.VMware.Pure1–this offers Pure1 Meta-related cmdlets (experimental)
- PureStorage.FlashArray.VMware.Software–this offers Pure Storage software deployment and management cmdlets
It requires PowerCLI…
…and the PureStorage PowerShell SDK to be installed, the Pure Storage PowerShell SDK will be automatically installed when you install this module if it is not already.
The module will help you connect PowerCLI commands (like get-datastore or get-vmhost) to operations you might want to do on the FlashArray. The cmdlets support pipeline input for most variables (datastores, FlashArray connections, ESXi hosts, etc.).
To load the module:
For all available commands, use get-command:
For specifics, use get-help plus the function you want.
Comment on Versioning
Versions numbering w.x.y.z (for example 22.214.171.124)
- W is iterated for large updates
- X is iterated for new cmdlets
- Y is iterated for new functions to existing cmdlets
- Z is iterated for bug fixes