คำสั่งในการ Export Services ของ Windows
เปิดจาก Power Shell (แบบนี้จะเอาทุกอย่างที่มีในเครื่อง)
Get-Service | Select-Object Name, DisplayName, Status, StartType | Out-File C:\services.txt
แบบนี้คือให้เช็คเฉพาะตัวที่กำลังเปิดอย่างเดียว
Get-Service |
Where-Object {$_.Status -eq "Running"} |
Format-Table Name, DisplayName -AutoSize |
Out-File C:\running_services.txt
เปิดจาก Power Shell (แบบนี้จะเอาทุกอย่างที่มีในเครื่อง)
Get-Service | Select-Object Name, DisplayName, Status, StartType | Out-File C:\services.txt
แบบนี้คือให้เช็คเฉพาะตัวที่กำลังเปิดอย่างเดียว
Get-Service |
Where-Object {$_.Status -eq "Running"} |
Format-Table Name, DisplayName -AutoSize |
Out-File C:\running_services.txt