Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. Get-Childitem -recurse G:\Transfere\jsa\Backup_mxrecord_18.03.2018-20.03.2018\mxrecord\10_11_94_35 -include *jpg
  2.  
  3.  
  4. foreach($jpg in $files)
  5. {
  6. Copy-Item $jpg -Destination G:\Transfere\jsa\testdestination
  7. }
  8. Copy-Item : Das Argument kann nicht an den Parameter "Path" gebunden werden, da es NULL ist.
  9. Bei Zeile:6 Zeichen:14
  10. + Copy-Item <<<< $jpg -Destination G:\Transfere\jsa\testdestination
  11. + CategoryInfo : InvalidData: (:) [Copy-Item], ParameterBindingValidationException
  12. + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.CopyItemCommand
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement