From b7c3b0583323b208c517e599adb947771e3f92a9 Mon Sep 17 00:00:00 2001 From: "marco.locatelli@steamware.net" Date: Tue, 25 Feb 2025 10:45:00 +0100 Subject: [PATCH] riorganizzazioneFolders&RobocopyVeeamVhdx --- .../CallUrlExample.ps1 | 0 Robocopy/RobocopyOvhVeeamVHDX.ps1 | 19 +++++++++++++++++++ {Generic => Robocopy}/TestRobocopy.ps1 | 0 3 files changed, 19 insertions(+) rename {GenericCallUrl => Generic}/CallUrlExample.ps1 (100%) create mode 100644 Robocopy/RobocopyOvhVeeamVHDX.ps1 rename {Generic => Robocopy}/TestRobocopy.ps1 (100%) diff --git a/GenericCallUrl/CallUrlExample.ps1 b/Generic/CallUrlExample.ps1 similarity index 100% rename from GenericCallUrl/CallUrlExample.ps1 rename to Generic/CallUrlExample.ps1 diff --git a/Robocopy/RobocopyOvhVeeamVHDX.ps1 b/Robocopy/RobocopyOvhVeeamVHDX.ps1 new file mode 100644 index 0000000..7800823 --- /dev/null +++ b/Robocopy/RobocopyOvhVeeamVHDX.ps1 @@ -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 \ No newline at end of file diff --git a/Generic/TestRobocopy.ps1 b/Robocopy/TestRobocopy.ps1 similarity index 100% rename from Generic/TestRobocopy.ps1 rename to Robocopy/TestRobocopy.ps1