Powershell Copy Folder and Rename with day

lafovi

New Member
Hallo,

i need a script or command that can help me to do a backup from one file on every week basis.

I know that this commands works nicelly

# Copy-Item -recurse d:\test \\servername\d$\install\Test

but I need that the folder when its copied have this kind of name Test-Monday or Test-1 or something like that.

I search over this page for a solution but everything that I found was only for files like txt or log.

Thanks on you help.
 

My Computer

Back
Top