Powershell Copy doesn't work

Powershell copy doesn’t work.

`Copy-Item P: -Recurse x:\fs-pdrive`

The drive exists…

Copy-Item : Cannot find drive. A drive with the name ‘P’ does not exist.
At C:\Windows\TEMP\toolbox2645589402982537776run\Backup20P20Drive-1580406191292
.ps1:1 char:10

  • Copy-Item <<<< P: -Recurse x:\fs-pdrive
    • CategoryInfo : ObjectNotFound: (P:String) [Copy-Item], DriveNot
      FoundException
    • FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.Copy
      ItemCommand

An issue I’ve had in the past, unrelated to Simple Help, is when running a script as administrator or System is that mapped drives are not mapped for the user. If you run the script as System or Administrator on the machine manually does it work?

1 Like

How do you do that? … … …