I have a PHP script that connects to a Linux server, obtains vital information and reports it back in my PHP App. I connect to the linux server using SSH.
I want to do the same with a windows server, but I don't want to have to install libraries etc. I.e. I want to connect to a Windows Server using their native connection options in a PHP app.
I don't mind installing a library on the app's side if necessary, but I don't want to have to install anything on the server.
There is some info on connecting to a Windows SQL server from PHP. But that doesn't give me access to the command line. I searched around, I really did, and I can't find how to do this. Is it even possible? I can't think that it is not possible, because a lot of server monitoring software allows you to connect to windows server. They might have other apps running in the background that does the actual talking to the server, so it might not be done in PHP itself. But any tips or guidance as to how to do this would be greatly appreciated.
Thanks!