none
Powershell script to get status of multiple service RRS feed

  • Question

  • Hi There,

    Greeting!

    I am new to powershell and Am looking out for a logic that, i have csv file which include hostname and services example below. In my case the count is 1500+

    HostName,Service1,Service2,Service3

    ASIA,Service a, Service b, Service c

    APAC, Service d, Service f, Service e

    Now i want a service status of APAC server which will passed as variable seperately and then it should check the csv file, then mapped the hostname in csv file and get the service name for checking the status.

    For example

    1) pass hostname to search in the csv file

    2) if matched hostname get service name which is mapped to the hostname in csv file

    3) now get the service details

    Require your kind suggestion it would be very helpfull.

    Thanks

    • Moved by Bill_Stewart Wednesday, September 4, 2019 6:01 PM This is not "fix/debug/rewrite script for me" forum
    Monday, February 25, 2019 3:55 PM

All replies