SSD - Proxmox hinzugefügt

This commit is contained in:
Michael Grote 2022-05-26 10:13:56 +02:00
parent 654e5a99ab
commit 62dcd8a323
1 changed files with 4 additions and 0 deletions

View File

@ -23,16 +23,19 @@ $quelle2 = "C:\Portable_Programme"
$quelle3 = "C:\Users\mg\Desktop"
$quelle4 = "\\fileserver2.grote.lan\vm\Mint_lol"
$quelle5 = "C:\Users\mg\AppData\Roaming\Apple Computer"
$quelle6 = "\\fileserver2.grote.lan\proxmox"
$quelle1_name = "vm"
$quelle2_name = "programme"
$quelle3_name = "desktop"
$quelle4_name = "mint_lol"
$quelle5_name = "apple"
$quell6_name = "proxmox"
$ziel1="$scriptpfad\$hostname_ist\VM"
$ziel2="$scriptpfad\$hostname_ist\Portable_Programme"
$ziel3="$scriptpfad\$hostname_ist\Desktop"
$ziel4="$scriptpfad\$hostname_ist\mint_lol"
$ziel5="$scriptpfad\$hostname_ist\apple"
$ziel6="$scriptpfad\$hostname_ist\proxmox"
# Hostname prüfen
if ($hostname_ist -eq $hostname_soll)
{
@ -56,3 +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"