move_old_files
get-childitem -Path "C:\Program Files\Microsoft SQL Server\MSSQL12.PRODUCCION\MSSQL\Backup" -Recurse | where-object {$_.LastWriteTime -lt (get-date).AddDays(-15)} | move-item -destination "\\pc0909\d$\Backups (no compartida)\BCCSRV08"
move_old_files.txt · Last modified: 2024/10/17 21:42 by 127.0.0.1
