I want to write a program to login into remote machine using domain admin user credential and do following tasks
- Get some system information like OS, IIS version, .net version etc
- Transfer some files from remote to local machine and vice versa.
Is there any windows API to do this?
Task I am trying to do can done manually using remote desktop application, but I don't want to use GUI as I would like to automate this, to get machine info periodically from our environment and display in a Dashboard.
you can use winrm and automate it using powershell https://msdn.microsoft.com/en-us/library/aa384426%28v=vs.85%29.aspx
here is a vb example (you can use the same COM objects in c#)