Inputs: Wildcard string specifying services to query. Multiple wildcards can be specified, separated by commas. For example: "A*","W*".
Minimum ITScripts engine version required: 126.96.36.199
Modifies the target machine: No
Outputs: CSV file with computer name, service name, service display name, and service status.
Purpose: Retrieve status of specified service(s).
Script Version: 188.8.131.52
Target Type: Any
This script will remotely query target machines using the Get-Service cmdlet in PowerShell. Default will list all services, or the specific wildcard or service names you provide will be listed in a CSV formatted file per machine.