You can use Find My iPhone for a Mac to find your computer if it's lost or stolen. Here's how to use Find My Mac.
To format a hard drive before you start using it in Windows, use the Disk Management utility; on a Mac, use Disk Utility.