Giter VIP home page Giter VIP logo

extensionattributes's People

Contributors

grahampugh avatar pbowden-msft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

extensionattributes's Issues

Need visibility on which volume license is being utilized

Paul,
It would be great to have some visibility on which volume license type is installed when this condition is met. I'm in the process of rolling out the Office 2021 LTSC volume licensing installer and being able to report on which license file is there would be helpful. I had a much more rudimentary script that checked between for 2016 and 2019. When I added the check for /usr/bin/grep -q "Bozo+MzVxzFzbIo+hhzTl4xkRZSjOUX8J8nIgpXuMa" it wasn't reporting that I had 2021 license installed even though the About Word GUI showed I did. I ran the newer 2021 VL installer without removing the existing licensing file. For now, I am going to remove the existing licensing file before I install the 2021 file and hope that helps get me the reporting I need. Thanks!
Mike

if [ "$PERPETUALPRESENT" = "Yes" ] && [ "$O365ACTIVATIONS" ]; then
/bin/echo "<result>Volume and Office 365 licenses detected. Only the volume license will be used.</result>"

MAUCheckMethod relying on Python, which isn't going to be stock in macOS in the future

https://github.com/pbowden-msft/ExtensionAttributes/blob/master/MAU_CheckMethod.sh relies on Python, and in macOS 12 beta, is causing a warning to be thrown when the EA is evaluated about it (or rather, "jamf") not being supported in future OS versions.

Found https://tidbits.com/2019/06/25/apple-to-deprecate-scripting-languages-in-future-versions-of-macos/

Looks like Apple is about to drop Python from macOS.

Thoughts on switching to using "defaults"? or PlistBuddy?

Install type (Pkg vs App Store)

Hello,

Sorry if this is not the right place to ask this kind of thing.
Is it possible to detect how an office app was installed ( AppStore or via PKG )?

Cheers,
Nick

Office365_Logons.xml - check if the DB file exists first

You should check to see if the MicrosoftRegistrationDB.reg file exists first before trying to read from it. If a user hasn't logged on and had the file created yet, it will give an error when running the script, similar to:

Error: unable to open database "/Users/user/Library/Group Containers/UBF8T346G9.Office/MicrosoftRegistrationDB.reg": unable to open database file

I updated the code to the following:

# check if the registry file exists
if [[ -e "$HOMEPATH/Library/Group Containers/UBF8T346G9.Office/MicrosoftRegistrationDB.reg" ]]
then
# execute some sql to get the active O365 logon, if any
local RESULT=$(/usr/bin/sqlite3 "$HOMEPATH/Library/Group Containers/UBF8T346G9.Office/MicrosoftRegistrationDB.reg" "SELECT value from HKEY_CURRENT_USER_values WHERE name='UserDisplayName' LIMIT 1;")
# checks to see if we got a hit
if [ "$RESULT" != "" ]; then
logons+="$RESULT;"
fi
fi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.