Inputs: Wildcard string specifying services to query. Multiple wildcards can be specified, separated by commas. For example: "A*","W*".
Minimum ITScripts engine version required: 18.104.22.168
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: 22.214.171.124
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.