How Does Action Scripts Executed in Systems Insights and is Mock Execution Possible?

%3CLINGO-SUB%20id%3D%22lingo-sub-1121459%22%20slang%3D%22en-US%22%3EHow%20Does%20Action%20Scripts%20Executed%20in%20Systems%20Insights%20and%20is%20Mock%20Execution%20Possible%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1121459%22%20slang%3D%22en-US%22%3E%3CP%3EI%20installed%20System%20Insights%20in%20Admin%20Center%20and%20managed%20several%20servers.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20created%20some%20scripts%20for%20some%20forecast%20actions.%20However%2C%20I%20have%20some%20questions%20before%20deploy%3A%3C%2FP%3E%3CP%3E1.%20How%20the%20scripts%20executed%3F%20Should%20I%20copy%20all%20the%20scripts%20to%20each%20server%20so%20that%20they%20cay%20execute%20them%20locally%3F%3C%2FP%3E%3CP%3E2.%20How%20can%20I%20mock%20a%20situation%20(let's%20say%20disk%20warning)%20and%20let%20the%20system%20execute%20the%20script%2C%20so%20I%20can%20see%20if%20it%20reaches%20my%20expectation%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1180995%22%20slang%3D%22en-US%22%3ERe%3A%20How%20Does%20Action%20Scripts%20Executed%20in%20Systems%20Insights%20and%20is%20Mock%20Execution%20Possible%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1180995%22%20slang%3D%22en-US%22%3E%3CP%3ESeems%20like%20nobody%20knows%20the%20answer%20%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Funamused_40x40.gif%22%20alt%3D%22%3Aunamused%3A%22%20title%3D%22%3Aunamused%3A%22%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1227542%22%20slang%3D%22en-US%22%3ERe%3A%20How%20Does%20Action%20Scripts%20Executed%20in%20Systems%20Insights%20and%20is%20Mock%20Execution%20Possible%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1227542%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F527739%22%20target%3D%22_blank%22%3E%40nabor0819%3C%2FA%3E%26nbsp%3BApologies%20for%20the%20delayed%20reply.%20Currently%2C%20there%20is%20no%20way%20for%20scripts%20to%20be%20executed%20across%20multiple%20servers.%20They%20will%20need%20to%20be%20run%20individually.%20There%20is%20also%20no%20way%20to%20mock%20a%20situation%20to%20see%20if%20it%20executes.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1228166%22%20slang%3D%22en-US%22%3ERe%3A%20How%20Does%20Action%20Scripts%20Executed%20in%20Systems%20Insights%20and%20is%20Mock%20Execution%20Possible%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1228166%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F548197%22%20target%3D%22_blank%22%3E%40praror%3C%2FA%3E%26nbsp%3BThanks%20for%20your%20reply.%20Since%20they%20must%20run%20individually%2C%20can%20I%20use%20UNC%20path%20so%20that%20I%20won't%20have%20to%20copy%20scripts%20across%20servers%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I installed System Insights in Admin Center and managed several servers.

 

I created some scripts for some forecast actions. However, I have some questions before deploy:

1. How the scripts executed? Should I copy all the scripts to each server so that they cay execute them locally?

2. How can I mock a situation (let's say disk warning) and let the system execute the script, so I can see if it reaches my expectation?

3 Replies
Highlighted
Highlighted

@nabor0819 Apologies for the delayed reply. Currently, there is no way for scripts to be executed across multiple servers. They will need to be run individually. There is also no way to mock a situation to see if it executes.

Highlighted

@Prasidh_Arora Thanks for your reply. Since they must run individually, can I use UNC path so that I won't have to copy scripts across servers?