From 1d3f71a3d6d9d5d2b0fcf331731e4185938df2dc Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 19 Oct 2023 09:27:49 +0200 Subject: [PATCH] HDD: aktualisiert --- fileserver-hdds-alles.ps1 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/fileserver-hdds-alles.ps1 b/fileserver-hdds-alles.ps1 index 222f43b..92d3291 100644 --- a/fileserver-hdds-alles.ps1 +++ b/fileserver-hdds-alles.ps1 @@ -21,6 +21,7 @@ $hostname_soll = "irantu" # Ziele/Quellen $quelle1 ="\\fileserver3.grote.lan\buecher" $quelle2 ="\\fileserver3.grote.lan\Musik" +$quelle3 ="\\fileserver3.grote.lan\proxmox" $quelle4 ="\\fileserver3.grote.lan\backup" $quelle5 ="\\fileserver3.grote.lan\archiv" $quelle6 ="\\fileserver3.grote.lan\programme" @@ -28,9 +29,11 @@ $quelle7 ="\\fileserver3.grote.lan\bilder" $quelle9 ="\\fileserver3.grote.lan\vm" $quelle10 ="\\fileserver3.grote.lan\hm" $quelle11 ="\\fileserver3.grote.lan\tmp" -$quelle3 ="\\fileserver3.grote.lan\proxmox" +$quelle12 ="C:\portable_programme" +$quelle13 ="C:\Users\mg\desktop" $quelle1_name= "buecher" $quelle2_name= "musik" +$quelle2_name= "proxmox" $quelle4_name= "backup" $quelle5_name= "archiv" $quelle6_name= "programme" @@ -39,6 +42,8 @@ $quelle7_name= "bilder" $quelle9_name= "vm" $quelle10_name= "hm" $quelle11_name= "tmp" +$quelle12_name= "portable_programme" +$quelle13_name= "Desktop" $ziel1="$scriptpfad\backup\buecher" $ziel2="$scriptpfad\backup\Musik" $ziel4="$scriptpfad\backup\backup" @@ -49,6 +54,10 @@ $ziel9="$scriptpfad\backup\vm" $ziel10="$scriptpfad\backup\hm" $ziel11="$scriptpfad\backup\tmp" $ziel3="$scriptpfad\backup\proxmox" +$ziel12="$scriptpfad\backup\portable_programme" +$ziel13="$scriptpfad\backup\desktop" + + # Hostname prüfen if ($hostname_ist -eq $hostname_soll)