Category: PowerShell

PowerShell – Backup File Plan with OneDrive and task scheduler

Setup OneDrive Account, set on your computer for syn purpose use powershell script (below) to copy target data into onedrive folder   PowerShell script to copy file into other file #source: https://blog.csdn.net/zhang_ruisen/article/details/51038028 #https://www.pstips.net/ # # #Source_Path is string that from backup path folder $Source_Path=”F:\Database\PassDatabase” #Destination_Home is to backup path $Destination_Home=”G:\OneDriverFolder\OneDrive\Database” $Destination_Path=$Destination_Home+”\”+(Get-Date).ToString(“yyyyMMdd”) #Test if destination if
Read More »