OS X

profile install

-I install

-F

profile -I -F "./VA.mobileconfig"

pmset

power management setting

pmset displaysleep 0
pmset sleep 0

softwareupdate

*Update only system updates in the AppStore except updates requiring Apple ID and Password.

-i to install

-a to select all

softwareupdate -ia

diskutil

Disk Utility

*only useful until Yosemite

diskutil repairPermissions "Macintosh HD"

To Log In

osascript << EOF
tell application "System Events"
keystroke "admin"
delay 0.5
keystroke tab
delay 0.5
keystroke "password"
delay 0.5
keystroke return
end tell
EOF

launchctl

Startup application manager

launchctl unload -w /Library/LaunchAgent/inventory.plist
launchctl load -w /Library/LaunchAgent/inventory.plist
launchctl list

results matching ""

    No results matching ""