2

I need to copy files from local machine to remote computer, but both are on different domain. I tried to connect it using powershell, but the anti virus is blocking my connection.

I cannot disable the antivirus in the remote computer. Can anyone please tell if there is a way to do this without disabling the antivirus.

1 Answer 1

2

Do you try the net use command :

Net use o: \\Computer\share /user:domainName\remoteuser

Or the same using PowerShell

New-PSDrive -Name NDrive -PSProvider filesystem  -Root \\Computer\share  -Credential (get-credential)

Then you can copy to the new drive o: or in PowerShell NDrive:

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.