Deploy Agents to numerous endpoints

I have a whole lot of endpoints here numbering about 400. How can i deploy the PM agent to these endpoints centrally or do i have to go to each endpoint to deploy it?i have tried to use the install custom msi option in ITSM but i get an error saying failed to download.