port Device_WMI template to winrm