تسلط بر سرویسهای Windows (IIS، OpenSSH، Windows Update) روی VPS Windows ضروری است.
📋 پیشنیازها
- نشست Administrator در RDP یا PowerShell
- دانستن نام سرویس (مثلاً
W3SVC،sshd)
فهرست کردن سرویسها
BashGet-Service | Sort-Object Status, Name | Format-Table -AutoSize
کنترل یک سرویس
BashStop-Service -Name W3SVC -Force Start-Service -Name W3SVC Restart-Service -Name W3SVC
شروع خودکار
BashSet-Service -Name sshd -StartupType Automatic Get-Service sshd
بررسی خطاهای اخیر
BashGet-EventLog -LogName System -Newest 20 | Where-Object { $_.EntryType -eq 'Error' }
مدیریت تحت کنترل! 🚀