Added: - PROJECTS_INDEX.md - Master catalog of 7 active projects - GURURMM_API_ACCESS.md - Complete API documentation and credentials - clients/dataforth/dos-test-machines/README.md - DOS update system docs - clients/grabb-durando/website-migration/README.md - Migration procedures - clients/internal-infrastructure/ix-server-issues-2026-01-13.md - Server issues - projects/msp-tools/guru-connect/README.md - Remote desktop architecture - projects/msp-tools/toolkit/README.md - MSP PowerShell tools - projects/internal/acg-website-2025/README.md - Website rebuild docs - test_gururmm_api.py - GuruRMM API testing script Modified: - credentials.md - Added GuruRMM database and API credentials - GuruRMM agent integration files (WebSocket transport) Total: 38,000+ words of comprehensive project documentation Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
24 lines
897 B
PowerShell
24 lines
897 B
PowerShell
# Restart GuruRMM Agent on AD2 via SSH
|
|
# Simple approach using SSH to run PowerShell commands
|
|
|
|
Write-Host "[INFO] Attempting to restart GuruRMM agent on AD2..."
|
|
|
|
# Try SSH connection (requires VPN to be connected to Dataforth network)
|
|
Write-Host "[INFO] Connecting via SSH to 192.168.0.6..."
|
|
|
|
# Command to run on AD2
|
|
$command = "powershell -Command `"Restart-Service gururmm-agent -Force; Start-Sleep -Seconds 2; Get-Service gururmm-agent`""
|
|
|
|
# Try to execute
|
|
try {
|
|
# Use native Windows SSH (requires password to be entered manually)
|
|
Write-Host "[INFO] Please enter password when prompted: Paper123!@#"
|
|
ssh "INTRANET\sysadmin@192.168.0.6" $command
|
|
} catch {
|
|
Write-Host "[ERROR] SSH connection failed: $_"
|
|
Write-Host ""
|
|
Write-Host "Alternative: Restart service manually on AD2"
|
|
Write-Host "1. RDP to 192.168.0.6"
|
|
Write-Host "2. Run: Restart-Service gururmm-agent"
|
|
}
|