Check Windows Server services with PowerShell
Son güncelleme
Check the status of critical server services without changing their configuration.
Before you begin
Open PowerShell on a Windows device you are authorised to use. Adapt the examples to your environment.
Example command
Get-Service | Where-Object Status -eq 'Running'
Get-CimInstance Win32_Service | Select-Object Name,State,StartMode
Interpret the result
The first command lists running services. The second shows service state and startup mode. A manually started service can be stopped during normal operation.
Precautions
Before restarting a service, assess its dependencies, the maintenance window and the impact on users.
İlgili makaleler
Check disk and RAM usage on Windows Server
Check free disk space and physical memory on Windows Server with PowerShell and interpret capacity trends.
Read Windows Server event logs with Get-WinEvent
Filter critical and error events in Windows Server with Get-WinEvent. Review event IDs, providers and timestamps together.
Verify Windows Server backups
Verify that Windows Server backups can be restored. Keep an offline copy, run an isolated test restore and record time and data-loss limits.
Makale etkileşimi
Bu makale işinize yaradı mı?
Sorular ve yorumlar
Onaylı gönderim bulunmuyor.