riorganizzazioneFolders&RobocopyVeeamVhdx

This commit is contained in:
marco.locatelli@steamware.net
2025-02-25 10:45:00 +01:00
parent 6754ac45f2
commit b7c3b05833
3 changed files with 19 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
###ROBOCOPY VHDX VEEAM OVH VERSO TNAS UFFICIO###
$hostname = hostname
$date = Get-Date
$logFile = "C:\Steamware\Scripts\" + $hostname + "_VeeamVhdxRobocopy.log"
#cartella di origine
$sourceFolder = "W:\ISO\Win\"
#file da copiare
$file = "Windows10_EN_x64.iso"
#cartella di destinazione
$destFolder = "\\10.74.82.201\veeam-ovh-vhdx"
#Out-File -FilePath $filePath -InputObject $hostname
#Out-File -FilePath $filePath -InputObject $date -Append
robocopy $sourceFolder $destFolder $file /mt /tee /log:$logFile