Displaying all posts for Applescript

3 Ways to Netboot Across Subnets

by January 24, 2011 » Add more comments.

There is a proper way a network should be configured in order to allow your machines to netboot from a server located on a different subnet. Instructions for doing so can be found on AFP548.com. If however, you are not able to make the needed changes to your network hardware, you will need to set […]

 

View Open Directory ComputerGroup Membership with Applescript

by November 27, 2010 » Add more comments.

The following Applescript will show a selectable, scrollable list of machine accounts in OD, then show which ComputerGroup(s) that computer belongs to. This is a quick way to confirm membership without having to open WorkGroup Manager, and especially handy to allow your techs to verify without being a directory admin in OD.

 

Add user to admin group with Applescript

by January 12, 2010 » Add the second comment.

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 […]

 

Convert Local Account’s Home to AD account with Local Home

by July 31, 2007 » Add more comments.

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

by July 28, 2007 » Add more comments.

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 […]