Category Archives: Powershell

Powershell script to copy files at multiple destinations using regex

Here is a parameterized Powershell script to copy the files from one location to multiple destinations. You can also rename the files and use various date formats to put the files in yearly/monthly folder. Once the files are successfully copied, you have an option to delete the file from source location. Usage [code language=”powershell”]