Home
»
Discussion Forums
»
Agent - VSA
»
Finding software licenses
Subscribe via RSS
Share this
Similar Posts
Finding Office License type MAC
by
theicom
on
May 26, 2017
Can't find missing licenses in KAV
by
Jason07
on
Jan 20, 2011
Not Answered
Software License Management
by
zippo
on
Nov 10, 2014
Software licenses not found
by
JointTech
on
Feb 8, 2012
Not Answered
Software Licensing Application
by
rharris
on
May 29, 2014
View More
Details
1
Reply
0
Subscribers
Posted
over 11 years ago
Agent - VSA
Finding software licenses
Posted by
LegacyPoster
on
Nov 30, 2009 9:42 PM
Hi chaps
Has anyone had any success with creating a script to list license codes for common apps in OS X? Ideally Office and any others too. This is easy on a WIndows machine but it's proving harder in OS X.
Help.
Olly
Legacy Forum Name: Finding software licenses,
Legacy Posted By Username: oliverm
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
Posted by
LegacyPoster
on
Dec 8, 2009 7:35 PM
This short script reads the registration info for Microsoft Office 2008 and puts the info in the agents Documents folder. I haven't tested this yet on other machines.
Step1: Execute Shell Command (on Mac OS X) (Execute as System)
echo Microsoft Office 2008 >> #vAgentConfiguration.agentTempdir#/softwareinfo.txt
Step2: Execute Shell Command (on Mac OS X) (Execute as System)
defaults read /Applications/Microsoft\ Office\ 2008/Office/OfficePID | grep 1000 | cut -d"=" -f2 | sed -e 's/;//g' >>>> #vAgentConfiguration.agentTempdir#/softwareinfo.txt
Step3: Execute Shell Command (on Mac OS X) (Execute as System)
defaults read /Applications/Microsoft\ Office\ 2008/Office/OfficePID | grep 1600 | cut -d"=" -f2 | sed -e 's/;//g' >>>> #vAgentConfiguration.agentTempdir#/softwareinfo.txt
Step4: Execute Shell Command (on Mac OS X) (Execute as System)
defaults read /Applications/Microsoft\ Office\ 2008/Office/OfficePID | grep 1825 | cut -d"=" -f2 | sed -e 's/;//g' >>>> #vAgentConfiguration.agentTempdir#/softwareinfo.txt
Step5: Get File (on Mac OS X)
remote path: #vAgentConfiguration.agentTempdir#/softwareinfo.txt
Kserverpath: ..\Docs\softwareinfo.txt
Step6: Write Script Log Entry (on Mac OS X)
Softwareinfo collected.
Legacy Forum Name: Macintosh,
Legacy Posted By Username: macbofh
You have posted to a forum that requires a moderator to approve posts before they are publicly available.