

# Function to register an application with MAU If || || thenĭebug "Final TARGET_VERSION: $TARGET_VERSION " # Function to determine the logged-in state of the MacĬONSOLE= $(/usr/bin/python -c 'from SystemConfiguration import SCDynamicStoreCop圜onsoleUser import sys username = (SCDynamicStoreCop圜onsoleUser(None, None, None) or ) username = ] (username + "\n") ' )ĭebug "Resolved CMD_PREFIX: $CMD_PREFIX " # Function to check whether Office apps are installedĭebug "Skype for Business is not installed " # Function to check whether MAU 3.18 or later command-line updates are available VERSION_REMOTEDESKTOP= $(GetVersionOverride " $OVERRIDE_REMOTEDESKTOP " " $VERSION_REMOTEDESKTOP " )ĭebug "Resolved VERSION_REMOTEDESKTOP: $VERSION_REMOTEDESKTOP " UPDATE_REMOTEDESKTOP= $(GetUpdateOverride " $OVERRIDE_REMOTEDESKTOP " " $UPDATE_REMOTEDESKTOP " )ĭebug "Resolved UPDATE_REMOTEDESKTOP: $UPDATE_REMOTEDESKTOP " VERSION_ONENOTE= $(GetVersionOverride " $OVERRIDE_ONENOTE " " $VERSION_ONENOTE " )ĭebug "Resolved VERSION_ONENOTE: $VERSION_ONENOTE " UPDATE_ONENOTE= $(GetUpdateOverride " $OVERRIDE_ONENOTE " " $UPDATE_ONENOTE " )ĭebug "Resolved UPDATE_ONENOTE: $UPDATE_ONENOTE " VERSION_SKYPEBUSINESS= $(GetVersionOverride " $OVERRIDE_SKYPEBUSINESS " " $VERSION_SKYPEBUSINESS " )ĭebug "Resolved VERSION_SKYPEBUSINESS: $VERSION_SKYPEBUSINESS " UPDATE_SKYPEBUSINESS= $(GetUpdateOverride " $OVERRIDE_SKYPEBUSINESS " " $UPDATE_SKYPEBUSINESS " )ĭebug "Resolved UPDATE_SKYPEBUSINESS: $UPDATE_SKYPEBUSINESS " VERSION_OUTLOOK= $(GetVersionOverride " $OVERRIDE_OUTLOOK " " $VERSION_OUTLOOK " )ĭebug "Resolved VERSION_OUTLOOK: $VERSION_OUTLOOK " UPDATE_OUTLOOK= $(GetUpdateOverride " $OVERRIDE_OUTLOOK " " $UPDATE_OUTLOOK " )ĭebug "Resolved UPDATE_OUTLOOK: $UPDATE_OUTLOOK " VERSION_POWERPOINT= $(GetVersionOverride " $OVERRIDE_POWERPOINT " " $VERSION_POWERPOINT " )ĭebug "Resolved VERSION_POWERPOINT: $VERSION_POWERPOINT " UPDATE_POWERPOINT= $(GetUpdateOverride " $OVERRIDE_POWERPOINT " " $UPDATE_POWERPOINT " )ĭebug "Resolved UPDATE_POWERPOINT: $UPDATE_POWERPOINT " VERSION_EXCEL= $(GetVersionOverride " $OVERRIDE_EXCEL " " $VERSION_EXCEL " )ĭebug "Resolved VERSION_EXCEL: $VERSION_EXCEL " UPDATE_EXCEL= $(GetUpdateOverride " $OVERRIDE_EXCEL " " $UPDATE_EXCEL " )ĭebug "Resolved UPDATE_EXCEL: $UPDATE_EXCEL " VERSION_WORD= $(GetVersionOverride " $OVERRIDE_WORD " " $VERSION_WORD " )ĭebug "Resolved VERSION_WORD: $VERSION_WORD " UPDATE_WORD= $(GetUpdateOverride " $OVERRIDE_WORD " " $UPDATE_WORD " )ĭebug "Resolved UPDATE_WORD: $UPDATE_WORD " # Function to parse script parameter overrides Local UPDATE_FIELD2= $(echo " $1 " | cut -d ' -f2 ) # Function to evaluate app version override
#Microsoft autoupdate on mac update#
# Function to evaluate app update override

PATH_WATP= "/Applications/Microsoft Defender ATP.app " PATH_COMPANYPORTAL= "/Applications/Company Portal.app " PATH_REMOTEDESKTOP= "/Applications/Microsoft Remote Desktop.app "

PATH_SKYPEBUSINESS= "/Applications/Skype for Business.app " PATH_ONENOTE= "/Applications/Microsoft OneNote.app " PATH_OUTLOOK= "/Applications/Microsoft Outlook.app " PATH_POWERPOINT= "/Applications/Microsoft PowerPoint.app " PATH_EXCEL= "/Applications/Microsoft Excel.app " PATH_WORD= "/Applications/Microsoft Word.app "

# IT Admin constants for application path # IT Admin constants for application target version # Feedback: IT Admin constants for which applications to update # loss) arising out of the use of or inability to use the sample scripts or documentation, even if Microsoft has been advised of the possibility # (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary # Microsoft, its authors, or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever The entire risk arising out of the use or performance of the scripts and documentation remains with you. # Microsoft disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a The scripts are provided AS IS without warranty of any kind. # Scripts are not supported under any Microsoft standard support program or service.
#Microsoft autoupdate on mac pro#
# Microsoft AutoUpdate Helper for Jamf Pro
