Advertisement
Guest User

Untitled

a guest
Aug 30th, 2016
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. $source='\server1folder\*'
  2. $destination='\PC1c$tempfolder'
  3. copy-item -path $source -destination $destination -recurse -force
  4.  
  5. copy-item : container cannot be copied onto existing leaf item.
  6. %
  7. %
  8. %
  9. + categoryinfo : Invalidargument: (\server1folder:string) [copy-item] PSargumentexception
  10. +FullyQualifiedErrrId : CopyContainerItemToLeafError,Microsoft.powershell.Commands.CopyItemCommand
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement