Posts Tagged ‘Scripting
Add user to admin group with Applescript
Need a way for your team to easily make a network or local user an admin? Copy and paste the code below into Script Editor (Applescript Editor in 10.6) and save it as an application. This can be used before deploying a machine to the user, or after they’ve logged in.
(*
Add user to admin group
This [...]
LANDesk – Adding Apple Warranty Data to Inventory
A bash script that will do an online lookup of the Mac’s serial # to determine its’ warranty status, then add that data to custom data for LANDesk.
Bind to AD using Apple Remote Desktop
Need to bind a handful of Macs to Active Directory remotely? There are a couple scripts online already, including one from MacEnterprise and from Bombich. But I’ve never been able to get those to work when using with ARD. Either the AD plugin wasn’t activated or AD wasn’t added to the authentication path, etc. There’s [...]
Convert Local Account’s Home to AD account with Local Home
Here is a script that I use to convert a local home folder to be used by an Active Directory account. This script will rename the home folder first, then delete the local user account from NetInfo and rename the home folder back and change the permissions so the AD account can use the home [...]
Bind to Active Directory Applescript
There are several methods out there to automate binding to Active Directory including over Apple Remote Desktop, after a machine has been imaged using a login hook and a number of other methods.
We are just starting to move our Macs to AD. Most of the machines are already imaged and will need to be put [...]


