How can I run a powershell script (Antimalware Collection) through the MMA agent ?

%3CLINGO-SUB%20id%3D%22lingo-sub-632449%22%20slang%3D%22en-US%22%3EHow%20can%20I%20run%20a%20powershell%20script%20(Antimalware%20Collection)%20through%20the%20MMA%20agent%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-632449%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20prepared%20a%20Powershell%20script%20that%201)%20asks%20Windows%20about%20which%20antivirus%20system%20is%20running%20and%202)%20parses%20the%20result%20using%20HTTP%20Data%20Collector%20API.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20is%20it%20possible%20to%20wrap%20the%20script%20into%20the%20MMA%20agent%2C%20tha%20is%20already%20installed%20and%20running%20on%20all%20computers%2Fservers%20%3F%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-632449%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Log%20Analytics%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-633987%22%20slang%3D%22en-US%22%3ERe%3A%20How%20can%20I%20run%20a%20powershell%20script%20(Antimalware%20Collection)%20through%20the%20MMA%20agent%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-633987%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F162153%22%20target%3D%22_blank%22%3E%40Morten%20Waltorp%20Knudsen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20take%20a%20look%20at%20Azure%20Automation.%20It%20was%20built%20exactly%20for%20that.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMeir%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

I have prepared a Powershell script that 1) asks Windows about which antivirus system is running and 2) parses the result using HTTP Data Collector API.

 

But is it possible to wrap the script into the MMA agent, tha is already installed and running on all computers/servers ??

1 Reply

@Morten Waltorp Knudsen 

Please take a look at Azure Automation. It was built exactly for that.

 

Meir