Skip to main content

Hi everyone! I've been slowly building out our self service with software from VPP, scripts for updating and some help desk tools.



I was hoping you all could share some of the scripts and other tools you use for your users. There have been some older threads showing off their tools but they are a little sparse on how to make them work. One great one I saw, but have no idea how to get it to work, was an emergency backup to Google Drive.



I would love to see some scripts for updating Adobe CC and some other nifty scripts for helpdesk. Attached is what I have so far.



Cheers everyone! :)


Could you share the scripts for updating Adobe CC, re-index spotlight and display computer information? @txhaflaire Repair outlook search is also done via script?


Ours are very environment specific but I can share an "Uptime" Script that lets the students / staff users check the computer uptime with a click of the button. I deployed this as an applescript applet to the computer and the self service button runs the app. If they really want to they can run the Uptime app themeselves via Spotlight, save it to the dock or use Self Service.



try

set AppleScript's text item delimiters to " "

--message, space after " is intentional
set TIMINGC to " If the Uptime Exceeds 12:00 (12 Hours), Restart your MacBook."

--uptime
set uptime to do shell script "uptime"


--Selects 1st line of command line which contains Uptime
set FullUptimeDialog to paragraph 1 of uptime


set TEXT4 to text item 4 of FullUptimeDialog
set TEXT5 to text item 5 of FullUptimeDialog
set TEXT6 to text item 6 of FullUptimeDialog
set TEXT7 to text item 7 of FullUptimeDialog


--Displays Uptime (Days, Hours XX:XX, Users & Message)
display dialog "Uptime: " & TEXT4 & TEXT5 & TEXT6 & TEXT7 & TIMINGC with icon ":System:Library:CoreServices:CoreTypes.bundle:Contents:Resources:Clock.icns" as alias buttons {"Okay"}

end try

@neilrooney



Outlook Support Tools



Just push it out to your fleet and then set a policy that runs



open /path/to/OutlookSearchRepair.app


@neilrooney What @dtommey said, just create a policy and push it to a /tmp folder oi. Then the one liner to open the app.
For the others you can contact me at slack if you would like to!


See here for the Display Computer Information stuff.


I would recommend getting the Office cleanup applications as well Like




  1. MailToOutlook

  2. CrashLogger



Link : https://macadmins.software/tools/


@mark.mahabir Nice! considering changing mine around!


I see some great examples here! In the process of adding some more tools.





The "Optimize" policy flushes system and user caches, checks the disk, and reboots. It' sounds more professional than "plesae restart your computer".


@Seetendra
We looked at the MS-supplied app to set default, but it only did so for mail and not for calendar events or contacts. This is why we use the app that Rich Trouton developed. It uses duti to assign Outlook as default for contacts and events as well as mail.


Would love to know some of the resources, scripts etc. where you got some of this from and if any of these are built in even better!


@mack525 What you exactly do in the "Set Time Zone" policy?


@maik.sanftenberg When used with Self Service, enables a non-admin user to change time zone on his or her Mac.The script will offer to set the time zone automatically if it detects the time zone is set manually. Otherwise, the script will first present a short list of commonly used time zones. If selected, the script will present a full set choices based on UNIX time zones. Full script is on my Github Page


@txhaflaire Curious to see what your "Tools for tech's" has in it 🙂 if you dont mind sharing.


@daniel_ross
For me it was a case of what things could I create a button for so the users could do what they were asking to do on their own and not call me. From there it was just finding/stealing a script to do those things.



@txhaflaire
What is the difference between "Repair Outlook Search" and "Re-Index Spotlight"?




Ours are largely network/cert related, but there are a few other handy things in there too. (Sorry, had to scrub some titles.)



Much to my chagrin, "Fix Skype for Business" doesn't involve burning it with fire.


Nice @emily... icons8 ftw!


@emily dIsAbLe GaTeKeEpEr? ???????



Also, love the easy button icon.



The one tool I always find handy is a log scraper. Often times you will ask your help desk for logs, often times they forget what logs are relevant, you can even document how to get the logs in a wiki, and they may not read it. So, make a policy that copies all relevant logs into a folder on the user's desktop and zips it, then the user can attach that to a help desk ticket.



Also, out of curiosity, how often does all the flush caches and fix disk permission actually fix stuff? I cannot say I have seen those tools really fix a Mac outside a few very rare exceptions in my time.


@tlarkin more of a pause, for when developers need to YOLO weird tool installers. It's actually rarely used, but has been handy for some people. I think the timer is like 15 minutes.


@emily those pesky developers! I also like the idea of labeling that type of stuff YOLO MODE so they know they are not doing the right thing, haha


@wildfrog The difference is that Re-index spotlight builds up a new cache file for the use of Spotlight in case applications or files are not found correct. The outlook search repair fixes issues when you search for particular emails in Outlook and don't show up.



@mack525 Sure, no problem!


@neilrooney how do you handle the dns flush script with mdnsresponder and the formerly flush dns?



@emily whats about this fix skype for business?


@AxelK it's a script that cleans up keychain entries and application save state/cache data.


Reply