How to reboot a computer remotely

sometimes we need to reboot a computer remotely because we don’t have access to windows or because we are working from an admin computer, this command it’s helpful

Restart-Computer -ComputerName ServerName –Force