From 642b0f5791be4ba9548e702ace3c1a55a3765219 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 5 May 2022 14:08:41 +0200 Subject: [PATCH] =?UTF-8?q?SSD=20-=20Apple=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- laptop-ssd.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/laptop-ssd.ps1 b/laptop-ssd.ps1 index a30be59..73010df 100644 --- a/laptop-ssd.ps1 +++ b/laptop-ssd.ps1 @@ -22,14 +22,17 @@ $quelle1 = "C:\VM" $quelle2 = "C:\Portable_Programme" $quelle3 = "C:\Users\mg\Desktop" $quelle4 = "\\fileserver2.grote.lan\vm\Mint_lol" +$quelle5 = "C:\Users\mg\AppData\Roaming\Apple Computer" $quelle1_name = "vm" $quelle2_name = "programme" $quelle3_name = "desktop" $quelle4_name = "mint_lol" +$quelle4_name = "apple" $ziel1="$scriptpfad\$hostname_ist\VM" $ziel2="$scriptpfad\$hostname_ist\Portable_Programme" $ziel3="$scriptpfad\$hostname_ist\Desktop" $ziel4="$scriptpfad\$hostname_ist\mint_lol" +$ziel4="$scriptpfad\$hostname_ist\applel" # Hostname prüfen if ($hostname_ist -eq $hostname_soll) { @@ -52,3 +55,4 @@ robocopy $quelle1 $ziel1 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$t robocopy $quelle2 $ziel2 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$timestamp-$quelle2_name.log" 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-$quelle4_name.log"