The sample Microsoft PowerShell script named block_hx_hyperv_ssh.ps1 listed in this repository demonstrates how to automate blocking and allowing SSH access to a Cisco HyperFlex cluster on Microsoft Hyper-V.
The block_hx_hyperv_ssh.ps1 script must be run on each server node in the HyperFlex cluster with the matching service controller VM IP set to the $ServiceControllerVmIp variable.
- Microsoft PowerShell.
Ugo Emekauwa