Added
New Recipe - Cove - Set Device Alias to S/N | Last User
about 3 hours ago by Eric Harless
Standardize Cove Backup Manager device aliases across your fleet using the ClientTool takeover command.
https://developer.n-able.com/n-able-cove/recipes/cove-set-device-alias-to-sn-last-user
The script retrieves the local hardware serial number (WMI on Windows, system_profiler on macOS) and the last logged-in username (registry on Windows, loginwindow plist on macOS), combines them into a SERIALNUMBER | lastusername string, Base64-encodes the result, and sets it as the device alias via ClientTool takeover. The Partner UID can be supplied directly via -PartnerUID or auto-discovered from existing ClientTool log files. If no UID is found, the script exits with a descriptive error.
| Parameter | Default | Description |
|---|---|---|
-PartnerUID | (auto-discover) | Cove partner UID to associate the device with. If omitted, discovered from ClientTool logs. |