VM aus SSD ausgenommen
This commit is contained in:
parent
b2280b8cea
commit
3664c464a8
1 changed files with 0 additions and 4 deletions
|
@ -21,15 +21,12 @@ $hostname_soll = "irantu"
|
||||||
$quelle1 = "C:\VM"
|
$quelle1 = "C:\VM"
|
||||||
$quelle2 = "C:\Portable_Programme"
|
$quelle2 = "C:\Portable_Programme"
|
||||||
$quelle3 = "C:\Users\mg\Desktop"
|
$quelle3 = "C:\Users\mg\Desktop"
|
||||||
$quelle4 = "\\fileserver2.grote.lan\vm"
|
|
||||||
$quelle1_name = "vm"
|
$quelle1_name = "vm"
|
||||||
$quelle2_name = "programme"
|
$quelle2_name = "programme"
|
||||||
$quelle3_name = "desktop"
|
$quelle3_name = "desktop"
|
||||||
$quelle4_name = "vm_fileserver"
|
|
||||||
$ziel1="$scriptpfad\$hostname_ist\VM"
|
$ziel1="$scriptpfad\$hostname_ist\VM"
|
||||||
$ziel2="$scriptpfad\$hostname_ist\Portable_Programme"
|
$ziel2="$scriptpfad\$hostname_ist\Portable_Programme"
|
||||||
$ziel3="$scriptpfad\$hostname_ist\Desktop"
|
$ziel3="$scriptpfad\$hostname_ist\Desktop"
|
||||||
$ziel4="$scriptpfad\$hostname_ist\VM_FILESERVER"
|
|
||||||
# Hostname prüfen
|
# Hostname prüfen
|
||||||
if ($hostname_ist -eq $hostname_soll)
|
if ($hostname_ist -eq $hostname_soll)
|
||||||
{
|
{
|
||||||
|
@ -51,4 +48,3 @@ If(!(test-path $scriptpfad\logs))
|
||||||
robocopy $quelle1 $ziel1 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$timestamp-$quelle1_name.log"
|
robocopy $quelle1 $ziel1 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$timestamp-$quelle1_name.log"
|
||||||
robocopy $quelle2 $ziel2 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$timestamp-$quelle2_name.log"
|
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 $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"
|
|
||||||
|
|
Loading…
Reference in a new issue