在Explorer中打开MTP而不是WIA - powershell

时间:2017-06-08 09:54:49

标签: powershell mtp

我有这个脚本来打开和浏览MTP设备

$WIAdialog = New-Object -ComObject “WIA.CommonDialog”
$Device = $WIAdialog.ShowSelectDevice()
$Device = $WIAdialog.ShowAcquireImage()
$Device = $WIAdialog.ShowAcquisitionWizard()
$Device = $WIAdialog.ShowDeviceProperties()
$Device = $WIAdialog.ShowItemProperties()
$Device = $WIAdialog.ShowPhotoPrintingWizard()
$Device = $WIAdialog.ShowSelectItems()
$Device = $WIAdialog.ShowTransfer()

但是这个脚本正在加载有关存储图片的信息,即使在本地计算机上也是如此。是否可以避免加载图片信息以加快打开和访问远程连接的设备和/ 或在Windows文件资源管理器中打开MTP设备而不是某些WIA对话框?

0 个答案:

没有答案