Skip to content

Commit

Permalink
Create Backup-Folders.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
rswio authored Jan 26, 2025
1 parent 191d59f commit 18f567b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Files/Backup-Folders.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$Source = "C:\Data" # Replace with the folder you want to back up
$Destination = "\\BackupServer\Backups" # Replace with the destination folder
Copy-Item -Path $Source -Destination $Destination -Recurse
Write-Output "Backup completed for $Source to $Destination"

0 comments on commit 18f567b

Please sign in to comment.