This script can be used by customers, partners and the Pure Storage field to check.
1 2 3 4 5 6 7 8 9 10 11 |
$FlashArrayIP = Read-Host "FlashArray DNS/IP" $FlashArray = New-PfaArray -EndPoint $FlashArrayIP -Credentials (Get-Credential) -IgnoreCertificateError While ($true) { If ((Get-PfaRemoteAssistSession -Array $FlashArray).Status -eq 'disabled') { Set-PfaRemoteAssistStatus -Array $FlashArray -Action connect } else { Write-Warning "Remote assist session not active." Start-Sleep 30 } } |
Download script from https://github.com/barkz/PurePowerShellGuy.
Cheers,
Barkz