I am trying to solve the following problem in a php script.
This works:
system("powershell -command get-wmiobject win32_service -computername SERVER1");
It returns the expected results.
However, this returns nothing:
system("powershell -command get-wmiobject win32_service -compu...
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.