3 ms·
For longer and more complex scripts, probably. For something short, I'd probably use "copy file1 file2" rather than "Copy-Item -Path file1 -Destination file2".
by hdjjhhvvhga 5y ago
For longer and more complex scripts, probably. For something short, I'd probably use "copy file1 file2" rather than "Copy-Item -Path file1 -Destination file2".
- efdee 5y agoYou could use "cp file1 file2" which is an alias for Copy-Item ;-)