A collection of utility scripts for Mac computer and Mac OS.
A Shell script for easy fetching and downloading macOS IPSW firmwares since macOS 11 (Big Sur) in the terminal, by utilizing AppleDB's API.
Download the script, then open a terminal window and use the command to run the script:
sh /PATH/TO/IPSWFetcher.sh
A list of available macOS IPSW firmwares will be shown. Follow the on-screen instructions to download a macOS IPSW firmware.
An AppleScript that provides a convenient way to view key details about the current Mac computer.
As for Revision 6, this AppleScript can get:
| Information | Minimum Software/Hardware Requirement* |
|---|---|
| Mac's model identifier (e.g. "iMac10,1", not "iMac (27-inch, Late 2009)") | |
| Mac's model number (e.g. MNWD3LL/A) | ARM Macs only |
| Mac's serial number | |
| Mac's processor model in detail (e.g. "Intel(R) Core(TM) i5-5287U @ 2.9 GHz", not just "2.9GHz dual-core Intel Core i5") | |
| Processor's cores/threads | |
| Installed memory size | |
| Each memory slot's size | |
| Memory manufacturer(s) | |
| Internal storage capacity | Mac OS 10.13 or higher |
| Attached GPUs | |
| Total number of GPU cores | ARM Macs only |
| Connected power source | Mac OS 10.9 or higher |
| Battery's health condition (text representation, e.g. "Normal" "Service Recommended") | |
| Battery's health percentage | ARM Macs only |
| Battery charge cycles | Mac OS 10.9 or higher |
| Battery's designed/current capacity | Current capacity requires Mac OS 10.15 or higher. For older Mac OS, replace AppleRawMaxCapacity to CurrentCapacity in the line that defines battCurrCap. |
| Current charging wattage | |
| Connected charger's manufacturer & name | |
| Current connected network's type | |
| Connected Wi-Fi's channel | |
| Connected Wi-Fi's country code | |
| iCloud activation lock status | Mac OS 10.15 or higher |
| DEP/MDM enrollment status | Mac OS 10.13 or higher |
| Number of installed profiles |
*unless otherwise specified, assume that the minimum software/hardware requirement is "Mac OS 10.6 or higher, X86 Macs or newer" by default.
-
Download
AboutThisMac.applescriptand open it in (Apple)Script Editor;- if it's opened in other editors, manually open it in (Apple)Script Editor.
-
Run the script to get the current Mac's information that are specified above.