开发者

Powershell: How do I switch my path to a device (iphone)

I am new to powershell and as a exercise I am trying to write a automated script that will backup my photos of my iphone.

I am trying to figure out how to set the location of the path to my iphone photos directory.

I found the command Get-PsDrive; however, my phone name does not appear in this list.

Can anyone tell me the command(s) needed to find the phone path, and then cd to that pat开发者_StackOverflowh?

We can assume that the phone is connected.


This is unlikely possible without some module or snap-in that exposes iPhone files in a way that PowerShell can interpret.

For example, for Windows Mobile phones there is PowerShell Windows Mobile Provider.

I am not aware of something like that for iPhone (but I am not an iPhone user either). If nothing really exists then the answer is negative, this is simply not possible technically.


The protocol to talk to the iphone is not available for public use. The iphone icon in explorer is - as already mentioned - a windows explorer shell extension written by apple. There is no way for you to mount a drive to the iphone in the manner you wish for a stock iphone. 3rd party windows tools to access the iphone's filesystem require you install a custom application on the device, which also must be jailbroken.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜