Powershell failed to access network drive through UNC

ZhaoLong WANG 1 Reputation point
2020-05-19T20:58:23.027+00:00

I login a server with domain account and can get access to a mapped network drive 'P'. If i run a ps1 script to access 'p' drive, it is ok. but if the script try to access that folder through IP address, such as (172.xx.xx.xx), it faild with error:

ExpandArchiveHelper : Can not process invalid archive entry '20200514_11_32_36PM_Export.xls'

Though, i replace '172.xx.xx.xx' with 'p' it works.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,958 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Laude 85,651 Reputation points
    2020-05-19T20:59:58.493+00:00

    Hi,

    Q&A currently supports the products listed over here https://learn.microsoft.com/en-us/answers/products (more to be added later on).

    You can reach the experts in the dedicated PowerShell forum over here:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=winserverpowershell

    (Please don't forget to mark helpful replies as answer)

    Best regards,
    Leon

    0 comments No comments