Powershell to control external Windows Devices Powershell to control external Windows Devices powershell powershell

Powershell to control external Windows Devices


So I can filter down to which device is plugged in but I cant really get any further:

$test = Get-Pnpdevice($test | where Name -eq 'WindowsCE') | Format-list

This will display all the information about WindowCE devices but now you can filter it to if its plugged in.

($test | where Name -eq 'WindowsCE') | where Present -eq 'True'

Not sure if it helps but thats as far as I can get. I wish we could transfer files without using the Windows Mobile application. Good Luck.