Forum Discussion
Anonymous
Dec 02, 2017PowerShell script for stop application in remote server, which is domain joined. Not workgrou server
Hello Team,
I am working one of the customer enterprise environment azure cloud automation tasks. From azure perspective past couple of days working and trying to setup lot of things including ...
Arjun Bahree
Jan 14, 2018Copper Contributor
This is pretty straightforward to do, and I have implemented this as part of Azure self-healing and operations scripts in Azure Automation.
You need to look at leveraging PS Remoting to remote into the Azure VMs in your Subscription. Thereafter, you can execute specific scripts for various operations that you want to take place in one or more of those VMs like Disk Cleanup, Registry Cleanup, Checking on Windows Services, Stopping any specific processes (Killing them), collect Antivirus logs to upload them on a storage location, do basic diagnostics check from inside the OS etc.