Batch Rename OSX Clients 
07/06/2016 - Shawn, Work, OSX
Posted by Administrator
In ARD run a unix task on the computers you want to rename. Select the bubble for the user and say root. The command you want to run is all that is in the block quote below.

#!/bin/bash

/usr/bin/osascript << EOF
property compName : ""

repeat while compName is ""
tell application "Finder"
activate
display dialog "What should this computer be named:" default answer compName
set compName to text returned of result
end tell
end repeat

try
do shell script "hostname " & quoted form of compName
on error errorMsg number errorNum
display alert "Error " & errorNum message errorMsg buttons "Cancel" default button 1
end try
EOF

name=$(hostname)
scutil --set ComputerName "${name}"
scutil --set LocalHostName "${name}"

add comment ( 15678 views )   |  permalink
Hide Updates from Apple 
10/30/2015 - Work, OSX
Posted by Shawn
1. Open the Mac App Store and go to the Updates tab as if you were going to install a software update
2. Right-Click (or Control+Click) on the large OS X El Capitan banner and choose “Hide Update”
3. Exit the App Store

add comment ( 585 views )   |  permalink
Updateing Adobe Reader 
10/20/2015 - Work, OSX
Posted by Shawn
curl https://admdownload.adobe.com/bin/live/AdobeReader_11_en_a_install.dmg > AdobeReader.dmg
hdiutil attach AdobeReader.dmg
/Volumes/Adobe\ Reader\ Installer/Install\ Adobe\ Reader.app/Contents/MacOS/Install\ Adobe\ Reader
hdiutil detach /Volumes/Adobe\ Reader\ Installer/
killall “Google Chrome”
killall "Safari"
killall "firefox"
rm -rf AdobeReader.dmg

add comment ( 541 views )   |  permalink
Update Google Chrome 
10/20/2015 - Work, OSX
Posted by Shawn
curl https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg > Chrome.dmg
hdiutil attach ./Chrome.dmg
killall "Google Chrome"
cp -rf /Volumes/Google\ Chrome/Google\ Chrome.app /Applications/
hdiutil detach /Volumes/Google\ Chrome/
rm -rf Chrome.dmg

add comment ( 534 views )   |  permalink
Update FireFox Script 
10/20/2015 - Work, OSX
Posted by Shawn
curl http://releases.mozilla.org/pub/mozilla ... 41.0.2.dmg[/url] > Firefox.dmg
hdiutil attach ./Firefox.dmg
killall "firefox"
cp -rf /Volumes/Firefox/Firefox.app /Applications/
hdiutil detach /Volumes/Firefox/
rm -rf Firefox.dmg

add comment ( 475 views )   |  permalink

| 1 | 2 | Next> Last>>