$ErrorActionPreference = "Continue" Write-Output "=== reach 10.206.0.14 ports ===" foreach ($p in 3306,5432,6379,9000) { $r = Test-NetConnection -ComputerName 10.206.0.14 -Port $p -WarningAction SilentlyContinue "$p tcp=$($r.TcpTestSucceeded)" } Write-Output "=== local minio 9000 ===" $r2 = Test-NetConnection -ComputerName 127.0.0.1 -Port 9000 -WarningAction SilentlyContinue "local9000=$($r2.TcpTestSucceeded)" Get-Service | Where-Object { $_.Name -match 'minio|MinIO|mysql|postgres|redis' } | Format-Table Name, Status Get-ScheduledTask | Where-Object { $_.TaskName -match 'MinIO|Redis|Postgres|MySQL' } | Select-Object TaskName, State Write-Output "=== search env snippets (paths only) ===" @( 'C:\yutongda', 'E:\wwwroot' ) | ForEach-Object { if (Test-Path $_) { Get-ChildItem $_ -Recurse -Filter ".env" -ErrorAction SilentlyContinue -Depth 4 | Select-Object -First 20 FullName } } Write-Output "DONE"