Windows Installation Guide

Step-by-step guide to install TE Monitor Agent on Windows

Back to How It Works
Installation Steps
1
Get Your API Key

First, add a server in the Servers page and click the key icon to get your unique API Key.

Important: You need an API Key to connect your server. Get it from the Servers page.
2
Download PowerShell Script

Use PowerShell to download the monitoring script directly to your server.

Invoke-WebRequest -Uri "https://monitor.te.com.tr/downloads/te-monitor.ps1" -OutFile "te-monitor.ps1"
Security: PowerShell script is safer than executable files and won't trigger Windows Defender or antivirus warnings.
3
Set Execution Policy

Open PowerShell as Administrator and set the execution policy to allow script execution.

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
This allows PowerShell to run locally created scripts.
4
Script indirilen dizinde calistirilacak

Script mevcut dizine indirildi. Eger farkli bir dizindeyseniz scriptin bulundugu dizine gidin.

cd C:\path\to\script
Script hangi dizinde indirildiyse o dizinde calistirilmalidir.
5
Run the Script

Run the PowerShell script with your API Key. The script will ask for your API key if you don't provide it.

.\te-monitor.ps1 -ApiKey "YOUR_API_KEY_HERE"
Alternative: You can also run .\te-monitor.ps1 and the script will prompt you to enter your API key interactively.
Success! Your server will start sending metrics every 5 seconds. You'll see a real-time dashboard in the PowerShell window.
6
Optional: Customize Settings

You can customize the monitoring interval and server URL.

.\te-monitor.ps1 -ApiKey "YOUR_API_KEY" -Interval 10 -ServerUrl "https://monitor.te.com.tr"
Parameters: -Interval (seconds), -ServerUrl (your NetSentry URL)
7
Verify Connection

Check your NetSentry dashboard to see if your server is online and sending data.

Your Windows server is now being monitored! Check the Servers page to see real-time metrics.
8
🚀 Run in Background (Optional)

For production servers, you can run the monitoring script silently in the background without any visible windows.

Start-Process -FilePath "powershell.exe" -ArgumentList '-NoProfile','-ExecutionPolicy','Bypass','-File','C:\path\to\te-monitor.ps1','-ApiKey','YOUR_API_KEY' -WindowStyle Hidden
Background Execution: Edit the downloaded .ps1 file and replace the $API_KEY = section with your API key from the website, then run the command.
Note: The script will continue running even after you close the PowerShell window. To stop it, you'll need to restart your computer or find and terminate the process manually.
System Requirements
  • Windows 10/11 or Windows Server 2016+
  • PowerShell 5.1 or later (built-in)
  • Administrator privileges (for execution policy)
  • Internet connection (HTTPS)
  • Minimum 1MB free disk space
  • No antivirus issues - PowerShell scripts are safe
Troubleshooting

Execution Policy Error: Run PowerShell as Administrator and execute:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

Windows Defender: PowerShell scripts are safer than executables and rarely trigger antivirus warnings.

Check these:
• Verify your API key is correct
• Check your internet connection
• Ensure the server URL is accessible
• Look for error messages in the PowerShell window

Network Issues:
• Check if your firewall allows outbound HTTPS connections
• Verify the server URL is correct
• Try running: Test-NetConnection your-domain.com -Port 443