The attached script is intended for use at a local level on a device. It will look for an existing Device Manager installation, remove it and then install the Device Manager. If no Device Manager exists, it will still install. However, it requires some basic editing before it's used, so please read these directions.
Log into your Service Center
Go to Site Management on the Nav Menu
Select Sites
Then click on the site you wish to install a Device Manager on
Next, select Device Managers
Then expand Email
Select Windows Device Manager
When the email window appears, copy out the URL
Download the Script from here.
Edit the Script
Replace the words EMAIL DOWNLOAD URL HERE on Line 20 with the URL you copied
Leave the quotation marks so it looks like a URL in quotes
Save the script to C:\Temp
On the local device, open Powershell as Administrator
Browse to C:\Temp and run the script