New-PSDrive -Name "Z" -PSProvider FileSystem -Root "\\ComputerName\ShareName" -Persist -Credential (Get-Credential) Use code with caution. Troubleshooting Common Mapping Errors

Before mapping a drive, ensure the following: