Set defaults on Mac OS
Delete a default from the system
CLI Example:
salt '*' macdefaults.delete com.apple.CrashReporter DialogType
salt '*' macdefaults.delete NSGlobalDomain ApplePersistence
The name of the domain to delete from
The key of the given domain to delete
The user to delete the defaults with
Read a default from the system
CLI Example:
salt '*' macdefaults.read com.apple.CrashReporter DialogType
salt '*' macdefaults.read NSGlobalDomain ApplePersistence
The name of the domain to read from
The key of the given domain to read from
The user to read the defaults as
Write a default to the system
CLI Example:
salt '*' macdefaults.write com.apple.CrashReporter DialogType Server
salt '*' macdefaults.write NSGlobalDomain ApplePersistence True type=bool
The name of the domain to write to
The key of the given domain to write to
The value to write to the given key
The type of value to be written, valid types are string, data, int[eger], float, bool[ean], date, array, array-add, dict, dict-add
The user to write the defaults to
Generated on October 23, 2024 at 09:02:05 UTC.
You are viewing docs for the previous stable release, 3006.9. Switch to docs for the latest stable release, 3007.1, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy