About 51 results
Open links in new tab
  1. Copy file remotely with PowerShell - Stack Overflow

    May 24, 2012 · I am writing a PowerShell script that I want to run from Server A. I want to connect to Server B and copy a file to Server A as a backup. If that can't be done then I would like to connect to …

  2. Copy (append) multiple files into a single destination file

    Feb 22, 2022 · As noted by lit in the comments, in PowerShell copy is a built-in alias of the Copy-Item cmdlet, which functions differently from cmd.exe 's internal copy command: As of PowerShell 7.2.1, …

  3. file copying - PowerShell: Copy-Item fails despite the same process ...

    Mar 23, 2017 · I have a script that needs to copy files on a regular basis (every hour). I can open the source and destination folder using windows explorer and copy the file without issue. However, if I try …

  4. Copy and paste files through clipboard in Powershell

    Dec 20, 2020 · This copies YOUR_FILE_PATH_HERE to the local clipboard. You could use this, for example, when you're in a local terminal and need to copy file (s) to a remote session without …

  5. powershell - How to copy only updated or newer files - Stack Overflow

    Feb 7, 2023 · I am trying to create a PowerShell script to copy new and modified files from the source folder to the destination folder. I am able to copy the new file with the given script but also want to …

  6. powershell - Copy items from Source to Destination if they don't ...

    I have a pretty basic powershell copy script that copies items from a source folder to a destination folder. However this is moving way too much data, and I'd like to check if the filename already ...

  7. Powershell copy-item using variable source names

    Sep 2, 2020 · Copy-Item \\ServerName01\FolderName\file_09022020_0030.txt -Destination \\ServerName02\FolderName\file_copied.txt How can I write the script to use a variable source file …

  8. Batch file/Powershell script to copy files from list.txt

    Jul 25, 2019 · I need help on copying bunch of files from a source Volume folder to another volume folder. I want a script that copies the files from the given path listed on a .txt file. The script will copy …

  9. Is there a single PowerShell command to copy and rename files?

    Jan 21, 2013 · 43 I am using the following command to copy files from a network share to my local hard drive based on a CSV file.

  10. Copy-item Files in Folders and subfolders in the same directory ...

    I am struggling really hard to get this below script worked to copy the files in folders and sub folders in the proper structure (As the source server). Lets say, there are folders mentioned below: