SSD - Limit Alter Dateien

This commit is contained in:
Michael Grote 2022-05-26 10:52:17 +02:00
parent 62dcd8a323
commit b97a71d716
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# Funktion: speichert den aktuellen Pfad(vgl. pwd) in Get-ScriptDirectory
# Funktion: speichert den aktuellen Pfad(vgl. pwd) in Get-ScriptDirectory
function Get-ScriptDirectory {
$Invocation = (Get-Variable MyInvocation -Scope 1).Value
Split-Path $Invocation.MyCommand.Path
@ -59,4 +59,4 @@ robocopy $quelle2 $ziel2 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$t
robocopy $quelle3 $ziel3 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$timestamp-$quelle3_name.log"
robocopy $quelle4 $ziel4 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$timestamp-$quelle4_name.log"
robocopy $quelle5 $ziel5 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$timestamp-$quelle5_name.log"
robocopy $quelle6 $ziel6 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$timestamp-$quelle6_name.log"
robocopy $quelle6 $ziel6 /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$timestamp-$quelle6_name.log" /S /PURGE /MAXAGE:1