'Command to Redis Cluster healthcheck

Is there any windows PowerShell command to check Redis cluster healthcheck running on windows?



Solution 1:[1]

Remoting with powershell is pretty simple. Given that you've not supplied any psuedo code/ attempted examples, I'll give you a simple piece to at least get you googling some things in powershell

$servers = @("server1","server2","server3")

$servers | Foreach-object {Invoke-command -ComputerName $_ -ScriptBlock {redis-cli ping}}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 bain2236