To format a hard drive before you start using it in Windows, use the Disk Management utility; on a Mac, use Disk Utility.
You can still make an external macOS bootable drive, but Apple's tighter security procedures mean you have to prepare for it ...