Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

BITS transfer files using different domains without share

$
0
0

hi, can someone explain if is it possible to transfer files between my local pc and a server on a different domain without share its path.

i.e.

PS C:\Users\Desktop> Import-Module bitstransfer

PS C:\Users\Desktop> $c=get-credential

PS C:\Users\Desktop> start-bitstransfer -Credential $c -source \\server\c$\test.txt -destination .

 

the output is:

Start-BitsTransfer : Cannot find path '\\server\c$\test.txt' because it does not exist

but this happens only if I don't mount the share \\server\c$

 

is there a solution?


Viewing all articles
Browse latest Browse all 6937

Trending Articles