Skip to content

PowerShell script to export all Windows services with digital signature checks, descriptions, paths, publishers, and suspicious flags to a timestamped CSV file.

Notifications You must be signed in to change notification settings

ahmedosama80/Get_Services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Windows Services Exporter

A PowerShell script that gathers all Windows services and exports them to a detailed, timestamped CSV file β€” including service name, description, path, startup user, digital signature publisher, and whether the service appears suspicious.

πŸ” Features

  • Export all installed Windows services to CSV
  • Sorts results by service DisplayName
  • Adds row numbers to each service
  • Retrieves:
    • Service Name and DisplayName
    • Service Description and State
    • Executable Path and StartName
    • Publisher from digital signature of the executable
    • Flags services as Suspicious if:
      • Unsigned
      • Publisher is not Microsoft
      • Located in AppData, Temp, or Downloads folders
  • Output saved to Desktop with timestamp (e.g. ServicesList_2025-07-04_09_45_30_AM.csv)

πŸ“ Output Example

# DisplayName Name Description State StartName PathName Publisher Suspicious
1 Application Information Appinfo ... Running LocalSystem C:\Windows... Microsoft Windows False
2 XYZ Service xyzsvc ... Stopped .\User C:\Users... Unsigned True

πŸš€ How to Use

  1. Open PowerShell as Administrator
  2. Run the script:
    .\Get-WindowsServices.ps1

The script will display progress and save a CSV file to your Desktop.

βœ… Requirements Windows 10/11

PowerShell 5.1 or later

Admin privileges recommended (to access all services)

About

PowerShell script to export all Windows services with digital signature checks, descriptions, paths, publishers, and suspicious flags to a timestamped CSV file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •