Posted on 04-29-2014 02:03 AM
Hi Hello
I need know what's version language of Office is installed on the Mac ( French, US .... )
With that i can push the good update
Have you idea
Posted on 04-29-2014 04:47 AM
EDIT: Oops... I read your post as "what version" ... not language.
I created an extension attribute to gather this version info.
Then I use this smart group to scope self service updates.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--==
#!/bin/bash
#move to Applications folder
cd /Applications/Microsoft Office 2011/
# Get Version Information for Microsoft Word. app
WordVersion=mdls -name kMDItemVersion 'Microsoft Word.app'| awk '{print $3}'
;
#return result
echo '<result>'$WordVersion'</result>'
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Edit, Edit... The metadata attribute you need is: kMDItemLanguages
mdls -name kMDItemVersion 'Microsoft Word.app
Posted on 04-29-2014 04:54 AM
Hi Peter
Thanks you for your reply , but I expressed myself badly
I need language version if is French or US or UK
Cordially
Malik
Posted on 04-29-2014 06:45 AM
No... you explained fine... i just read it before any morning coffee.
I edited the post to contain the metadata you would need