You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
# This is a sample script that surveys fleet of Pure flash arrays and outputs total capacity, written and provisioned figures.
# It's very easy to modify to send emails or write to tracking database
$names = @(
"pfa-001.example.com"
"pfa-002.example.com"
# ...
) # Populate this array with DNS names or IP addresses of your Pure arrays
$cred = Import-CliXml c:\PS\cred.xml # This is the connection credential. Write to file using "Get-Credential | Export-CliXml c:\PS\cred.xml". Must work across the fleet
"On $($spacemetrix.Count) Pure arrays we have $([int]($totalcapacity/$1TB)) TB of capacity; $([int]($totalvolumes/$1TB)) TB written, which is reduced from $([int]($totalvolumes_beforereduction/$1TB)) TB. Total provisioned: $([int]($totalprovisioned/$1TB)) TB. Data collected on $(Get-Date)"