systemsetup

This command complements, and in some cases even duplicates, the previously mentioned networksetup command. The systemsetup command can change many of the settings normally available from the control panels in System Preferences.

Once again, open a Terminal window and go to ARD's command directory:

cd /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support

To find out what commands are supported by systemsetup, do the following:

sudo ./systemsetup -help

Below is a listing of all the commands provided by systemsetup in ARD 2.1:

systemsetup Help Information
-------------------------------------
Usage: systemsetup -getdate
Display current date.

Usage: systemsetup -setdate Set current date to
Usage: systemsetup -gettime
Display current time.

Usage: systemsetup -settime Set current time to
Usage: systemsetup -gettimezone
Display current time zone.

Usage: systemsetup -settimezone Set current time zone to
Usage: systemsetup -listtimezones
List time zones supported by this machine.

Usage: systemsetup -getusingnetworktime
Display whether network time is on or off.

Usage: systemsetup -setusingnetworktime Set using network time to either
Usage: systemsetup -getnetworktimeserver
Display network time server.

Usage: systemsetup -setnetworktimeserver Set network time server to
Usage: systemsetup -getsleep
Display amount of idle time until computer, display and hard disk sleep.

Usage: systemsetup -setsleep Set amount of idle time until computer, display and hard disk sleep to Specify "Never" or "Off" for never.

Usage: systemsetup -getcomputersleep
Display amount of idle time until computer sleeps.

Usage: systemsetup -setcomputersleep Set amount of idle time until compputer sleeps to Specify "Never" or "Off" for never.

Usage: systemsetup -getdisplaysleep
Display amount of idle time until display sleeps.

Usage: systemsetup -setdisplaysleep Set amount of idle time until display sleeps to Specify "Never" or "Off" for never.

Usage: systemsetup -getharddisksleep
Display amount of idle time until hard disk sleeps.

Usage: systemsetup -setharddisksleep Set amount of idle time until hard disk sleeps to Specify "Never" or "Off" for never.

Usage: systemsetup -getwakeonmodem
Display whether wake on modem is on or off.

Usage: systemsetup -setwakeonmodem Set wake on modem to either
Usage: systemsetup -getwakeonnetworkaccess
Display whether wake on network access is on or off.

Usage: systemsetup -setwakeonnetworkaccess Set wake on network access to either
Usage: systemsetup -getrestartpowerfailure
Display whether restart on power failure is on or off.

Usage: systemsetup -setrestartpowerfailure Set restart on power failure to either
Usage: systemsetup -getrestartfreeze
Display whether restart on freeze is on or off.

Usage: systemsetup -setrestartfreeze Set restart on freeze to either
Usage: systemsetup -getallowpowerbuttontosleepcomputer
Display whether the power button is able to sleep the computer.

Usage: systemsetup -setallowpowerbuttontosleepcomputer Enable or disable whether the power button can sleep the computer.

Usage: systemsetup -getremotelogin
Display whether remote login is on or off.

Usage: systemsetup -setremotelogin Set remote login to either
Usage: systemsetup -getremoteappleevents
Display whether remote apple events are on or off.

Usage: systemsetup -setremoteappleevents Set remote apple events to either
Usage: systemsetup -getcomputername
Display computer name.

Usage: systemsetup -setcomputername Set computer name to
Usage: systemsetup -getlocalsubnetname
Display local subnet name.

Usage: systemsetup -setlocalsubnetname Set local subnet name to
Usage: systemsetup -getstartupdisk
Display current startup disk.

Usage: systemsetup -setstartupdisk Set current startup disk to
Usage: systemsetup -liststartupdisks
List startup disks on this machine.

Usage: systemsetup -getWaitForStartupAfterPowerFailure
Get the number of seconds after which the computer will start up after a power failure.

Usage: systemsetup -setWaitForStartupAfterPowerFailure Set the number of seconds after which the computer will start up after a power failure. The
Usage: systemsetup -version
Display version of systemsetup tool.

Usage: systemsetup -help
Display help.

Usage: systemsetup -printCommands
Display commands.



ARD Resources >>