PowerShell - Path CSV not correct

Hello,

A  very little question but i don't find.

i must excute this command in PowerShell for import my contact from a CSV. All is perfect.

But i must take the CSV on teh network. In my computer it's ok but when i want place teh CSV on the network that don't work:

OK

.\Import-MailboxContacts.ps1 -CSVFileName .\Contacts.csv -EmailAddress ob@ok.com -EwsUrl https://srvexch/EWS/Exchange.asmx

NOT OK

.\Import-MailboxContacts.ps1 -CSVFileName "\\srvfiles\Contacts.csv" -EmailAddress ob@ok.com -EwsUrl https://srvexch/EWS/Exchange.asmx



thx,


August 12th, 2015 4:00am

Hi,

Please check your share path \\svrfiles\contacts.csv is not valid, it should be \\srvfiles\sharename\contacts.csv

Regards

Vishwanath

  • Proposed as answer by Vishwanath.S 23 hours 8 minutes ago
  • Marked as answer by Bartoch 23 hours 3 minutes ago
Free Windows Admin Tool Kit Click here and download it now
August 12th, 2015 4:20am

thx and sorry
August 12th, 2015 4:26am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics