Hi Team,
I am trying to fetch the status of windows update service on multiple remote server but I am getting always stopped but when I login on server and checked service is running. And then I run the script again then it showing running
First time script showing stopped service but when I take a rdp of server and then I run script then output is correct.