Skip to main content
Pure Technical Services

KB: PowerShell SDK cmdlets may not support -Filter parameter as documented

Currently viewing public documentation. Please login to access the full scope of documentation.

Question

When attempting to use the -Filter parameter for a specific FlashArray PowerShell SDK version 1 cmdlet, the output is not filtered or sorted.

Applies to

FlashArray PowerShell SDK version 1.17.16 and earlier - specific cmdlets.

Cause

The Pure Storage REST API supports filtering, sorting, and pagination for the following GET methods: GET volume, GET host, GET hgroup, GET pgroup,
and GET port. The PowerShell SDK cmdlets that do not perform these type of GET functions do not allow for the -Filter parameter, contrary to what the internal Help documentation states.

Resolution

The cmdlets that do not support the -Filter parameter will have this parameter removed in the next release.

Additional Information

Please consult the REST API Guides for version 1.17 and earlier for more information.