Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $source='\server1folder\*'
- $destination='\PC1c$tempfolder'
- copy-item -path $source -destination $destination -recurse -force
- copy-item : container cannot be copied onto existing leaf item.
- %
- %
- %
- + categoryinfo : Invalidargument: (\server1folder:string) [copy-item] PSargumentexception
- +FullyQualifiedErrrId : CopyContainerItemToLeafError,Microsoft.powershell.Commands.CopyItemCommand
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement