Jump to content

JSzinger

Members
  • Posts

    8
  • Joined

  • Last visited

  • Days Won

    3

JSzinger last won the day on February 2 2023

JSzinger had the most liked content!

JSzinger's Achievements

Rookie

Rookie (2/14)

  • Reacting Well
  • One Month Later
  • Helpful Rare
  • Conversation Starter
  • Week One Done

Recent Badges

3

Reputation

  1. I would like the to be able to have a 'back end kiosk' where an admin can put useful scripts and occasional installation filesets that can be triggered by techs. I have a few scripts that fix things that should only be run if needed. For example we have a re-bind script that we only have a tech run when we know the user is connected to our VPN. We either have to make the association (needing a full 'admin') or make a smart group that can populate based on a custom field. It would be great to associate them by default in a dormant mode and have a tech trigger them. Maybe there is a better way to do this....
  2. I am going to try both ways. Using multiple scripts sounds simpler and I can put together a test fileset pretty easily. I have been working on a script to check for both but it's not working as expected yet. I'll let you know what I ultimately use. Thanks.
  3. Is anyone checking to see if two profiles are loaded before running an installer package? I know how to use a requirements script to check for one profile. What is a best practice to check for two and only run the installer if both profiles are loaded. Can I just have two requirements scripts? or do I need to modify my current script to look for both profiles and only exit with '0' if both are there.
  4. I see different statuses. Sometimes it days Downloading with a % and just sits there. I will run a few tests and see what feedback I can give you. As far as the feedback from the kiosk, it just switches to 'Uninstall' after a brief time. I have had Macs sitting for up to an hour waiting for the update. From what I hear from others on different MDMs is that this process can be hit and miss and Apple promises to fix it after each update. I guess I am looking for an idea to apply these updates reliably. I have considered sending the full installer to these Macs and having FW trigger that but that is downloading 4x the data and it would have to come from us. Maybe there is another way to trigger a specific install through the terminal, I know Apple is preventing us from using 'software update -iaR' in a script via FileWave.
  5. I am having a lot of trouble having users kick off MacOS updates from the kiosk. I create the specific MDM updates in FileWave and add it to the the kiosk and try to kick them off. The update says installed, sometimes it says 'downloading' for the fileset status in the Admin and it mostly does nothing. Any advice?
  6. We need to send our users email addresses to an SECP profile from AD using LDAP. It is mostly working fine but we have a separate domain for our Canadian users. I have added the second LDAP server but our Canadian users are not having the email address sent to the certs (they still see %email% in the certs in the keychain) Do I need to somehow specify which LDAP instance to pull the information from?
  7. This is a custom field which gives the day/time of last full Time Machine backup. This was originally an extension attribute for another product and I modified it to work as a FileWave custom field. I'll paste the code here too so you can look without uploading it. Jean #!/bin/bash # Check Time Machine Backups # Written by Chad Nielsen # Modified for FileWave by Jean Szinger 6/21/21 ###################################[ VARIABLE DEFINITIONS ]################################## dateBackup="No Time Machine Backups" macOS=$(sw_vers | awk '/ProductVersion/{print substr($2,1,5)}' | tr -d ".") pathPlistNew="/Library/Preferences/com.apple.TimeMachine.plist" pathPlistOld="/private/var/db/.TimeMachine.Results.plist" ######################[ SCRIPT BEGINS - DO NOT MODIFY BELOW THIS LINE ]###################### function main { # Check the OS to determine where to look. if [ "$macOS" -ge "109" ]; then # If Auto Backup is enabled, get the Time Machine last backup date. checkAutoBackup=$(defaults read "$pathPlistNew" | awk '/AutoBackup/{print $3}' \ | tr -d ";") if [ "$checkAutoBackup" = "1" ]; then dateBackup=$(defaults read "$pathPlistNew" Destinations | \ sed -n '/SnapshotDates/,$p' | grep -e '[0-9]' | awk -F '"' '{print $2}' | sort \ | tail -n1 | cut -d" " -f1,2) if [ "$dateBackup" = "" ]; then dateBackup="Initial Backup Incomplete" fi fi else if [ -e "$pathPlistOld" ]; then dateBackup=$(defaults read "$pathPlistOld" "BACKUP_COMPLETED_DATE") if [ "$dateBackup" = "" ]; then dateBackup="Initial Backup Incomplete" fi fi fi # Report the result to the server. echo "$dateBackup" exit 0 } ######################################[ FUNCTION CALLS ]##################################### main LastTimeMachineBackup.customfields
  8. Hello!! Nice to see the MacOS represented early!!
×
×
  • Create New...