Hi i want to zip .bak sql backups and move these backups from one server to another server. and keep it in a folder .Say If the backups have
Source:000.00.21.19 D drive
destination :000.00.21.29 e drive
I should move .bak and trn files of large size only and zip it in the destination and place it in a folder of current date. If the previous day backup is left then that also should be moved zipped and kept in the corresponding folder with the correct date. how can i do this in powershell script and also how can i use a config file for this script. can you please help me. I am new to powershell scripting
Regards
Ish