VMware Script Catalog: Get Services as CSV

Version 5

    Author: Shavlik

    Category: Information

    Inputs: Wildcard string specifying services to query.  Multiple wildcards can be specified, separated by commas.  For example:  "A*","W*".

    Minimum ITScripts engine version required:

    Modifies the target machine: No

    Name: GetServicesAsCSV

    Outputs: CSV file with computer name, service name, service display name, and service status.

    Purpose: Retrieve status of specified service(s).

    Script Version:

    Target Type: Any


    Technical Description:

    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.