Script Requests - Itarian team will write the scripts for you :) for FREE

Hi @pcbuddy247,

Please run the modified script for “Top 5 CPU consuming process” and send email as requested

Please check and provide your feedback.

Kind Regards,
PremJK

20210121-email-top-5-cpu-consuming-process(1).json (7.05 KB)

Hi @pcbuddy247,

Can you please describe what error you are receiving while running the script.

Kind Regards,
​​​​​​​PremJK

I had trouble downloading the json file. But then it worked… Scripts are ok, many thanks… Only the Top 5 Ram script appears to output only 4 processes, not a big deal

Hi @Itarian_FAN,

Sorry for delay response. Our script developers were not able to find the proper solution in findings to check what Apps do have permission. There is no way to execute these conditions in the Terminal in MAC. Your request can’t be achieved through script.

Kind Regards,
PremJK

Can we have a script to send a notification to user’s desktops? Something that we could notify the userbase to log off their computers or give them information like their email is down. Thank you.

Hi @JohnG,

We have asked our script developers to check your request and provide feedback.

Kind Regards,
PremJK

Hi @JohnG,

Please run this script prepared by our script developers and provide your feedback
https://scripts.itarian.com/frontend…essage-to-user

Note : Run as logged in User

Kind Regards,
PremJK

It worked well but is there a way to make it show over open windows and add our company logo so our clients know that it is coming from us and not their computer?

Hi @JohnG,

Thanks for trying and providing feedback. We have asked our script developers to analyze and provide update.

Kind Regards,
PremJK

Hi @JohnG,

Can you please send your company logo in gif format to my Inbox as private message.

Kind Regards,
PremJK

Hi @JohnG,

Please run this script prepared by our script developers and provide your feedback
https://scripts.itarian.com/frontend/web/topic/script-to-create-custom-message-to-user

Kind Regards,
PremJK

Hi @PremJkumar !

Thanks for this messaging script, very useful for us too.

Some considerations:

  1. Would it be possible to pass both the window title and the message as ITSM parameters?
  2. Would it be possible to enter line breaks in the text to be shown? I’ve tried with the usual tricks ("
    " and “<br>”), but the message just shows the characters instead of adding a line break.
  3. Would it be possible to add an “OK” button at the bottom of the window to close the message window? The X in the upper-right corner is not so obvious for some users…

Thanks a lot in advance and best regards!

– Javier Llorente
Endpoint Security - Devoteam

Hi @DevoteamEndpointSecu,

Thanks a lot for your valuable suggestions. We will ask our script developers to modify the script and provide an updated script.

Kind Regards,
PremJK

Hi @DevoteamEndpointSecu,

Please run this script where your suggestions are implemented, please check and provide your feedback
https://scripts.itarian.com/frontend/web/topic/script-to-create-custom-message-to-user

Kind Regards,
PremJK

Greetings @PremJK ,

Would it be possible to create a script that would export the current user’s Outlook mailbox to a local PST file?

Many thanks,
Matt

Hi @PremJkumar,

Thanks for the updated script. We have tested it and we have noticed two issues:
1.- The OK button looks weird when text spans for more than three lines.
2.- The parameter Text_Size seems to be ignored: the text is shown always with the same size regardless of the entered size.

I’m attaching a sample screenshot. For that one, a text with exactly 255 characters has been used, and the Text_Size has been set to 20.

Thanks a lot in advance for your kind help!

Best regards,
– Javier Llorente
Endpoint Security - Devoteam

Screenshot_20210209-1802_02.png

Hi @DevoteamEndpointSecu,

Our script developers have updated the script with more usability.
https://scripts.itarian.com/frontend/web/topic/script-to-create-custom-message-to-user

Note:
Text has been updated. when we add logo which has high resolution and increasing text size, kindly change the dimension of frame accordingly, because the default dimension is 500x300.
If the logo is getting bigger it’s going to overlap the text or button. The issue you have faced is due to overlapping. We have added image resize code for logo as well text size ,even though we added dimension if you have increased text size more than efficient it going to affect button so kindly use dimension to fix your preference size accordingly. If we you don’t want add dimension or use dynamically resize the frame ,the frame is going to be adjusted in such a way that everything is tightly packed in a frame.

Kind Regards,
PremJK

Is it possible to run a script for MacOS machines to uninstall Adobe Flash Player?

Hi @P1V,

Please run this script prepared by our script developers and provide feedback
20210221-Onedrive_Resync.json

Note : Run as Logged in User

Kind Regards,
PremJK

20210221-Onedrive_Resync.json (3.12 KB)

Hello,

Could not figure out how to overwrite the existing script if changes were made prior to the existing one. here’s the script below:

content=r’’‘0.0.0.0 www.facebook.com
0.0.0.0 messenger.com
0.0.0.0 www.youtube.com
0.0.0.0 www.facebook.com
0.0.0.0 facebook.com
0.0.0.0 www.netflix.com
0.0.0.0 www.spotify.com’’’

here mention host file name to change

print ‘Before Change: ’
with open(‘C:\Windows\System32\drivers\etc\hosts’) as r:
print r.read()
with open(‘C:\Windows\System32\drivers\etc\hosts’, ‘a’) as f:
f.write(’
')
f.write(content)
print ’


print 'After Change: ’
with open(‘C:\Windows\System32\drivers\etc\hosts’) as r:
print r.read()

I need a script that would overwrite the existing content for the host file if changes were made since this script just piles up all the script being pushed to the user. Thank you in advance!