My PC is in Domain A and a remote server in Domain B, I want to restart a service on server from my PC using c# or any other language or script.
Notes:
- I am connected to the server via VPN that means i can manually RDP the server and can manually restart the service.
- I am not able to access services on server using connect to other computer under action button from local services window.
- I have admin rights to the server.
- I can't(not allowed) add any component to server.
- I have different set of credentials for Remote machine