How to Make Network Mapped Drives Available in Elevated Command Prompt and PowerShell in Windows 10
Starting with Windows Vista, Microsoft implemented the User Account Control feature, or just UAC. This feature is designed to improve the OS security. The side effect of this feature is that mapped network drives are inaccessible to programs running as administrator.