Skip to content

Instantly share code, notes, and snippets.

@gdyr
gdyr / cisco-igmp-monitor.ps1
Last active July 21, 2022 13:25
Monitor Cisco switch IGMP groups
function Get-CiscoIGMPGroups {
return plink -ssh [email protected] -pw cisco -batch "sh ip igmp snooping groups | include 224.0.1.129" 2>$null | ? {$_.Length -gt 0};
}
Write-Output "Starting IGMP group monitoring."
Write-Output "Press any key to exit..."
Write-Output "";
$prevEntry = "";
do {
@gdyr
gdyr / Three (Hints).md
Created March 7, 2023 20:10
Three (Hints)

Hints

Hint 1 You don't need any credentials or secrets to access a public bucket. However, the AWS CLI requires them to be set. You could get around this by using cURL, amongst other ways.