How to force a factory reset or hard reset on Motorola devices

Motorola Moto X (2nd Gen) Motorola Moto X (2nd Gen)
Motorola Nexus 6 Motorola Nexus 6
Motorola DROID Turbo Motorola DROID Turbo
Motorola Moto Maxx Motorola Moto Maxx
Motorola Moto G 4G Dual SIM (2nd gen) Motorola Moto G 4G Dual SIM (2nd gen)
Motorola Moto G 4G (2nd gen) Motorola Moto G 4G (2nd gen)
Motorola Moto E (2nd gen) Motorola Moto E (2nd gen)
Motorola Moto E Dual SIM (2nd gen) Motorola Moto E Dual SIM (2nd gen)
Motorola Moto G (3rd gen) Motorola Moto G (3rd gen)
Motorola Moto G Dual SIM (3rd gen) Motorola Moto G Dual SIM (3rd gen)
Motorola Moto X Play Motorola Moto X Play
Motorola Moto X Play Dual SIM Motorola Moto X Play Dual SIM
Motorola Moto X Style Motorola Moto X Style
Motorola Droid Maxx 2 Motorola Droid Maxx 2
Motorola Droid Turbo 2 Motorola Droid Turbo 2
Motorola Moto X Force Motorola Moto X Force
Motorola Moto G Turbo Edition Motorola Moto G Turbo Edition
Motorola Moto G4 Play Motorola Moto G4 Play
Motorola Moto G4 Motorola Moto G4
Motorola Moto G4 Plus Motorola Moto G4 Plus