From 82d6a5f62f14b469d654ec6cb72cacb3f9256c59 Mon Sep 17 00:00:00 2001 From: zwnk Date: Fri, 30 Nov 2018 16:39:34 +0100 Subject: [PATCH] Update 'Virtual_box_backup.ps1' --- Virtual_box_backup.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Virtual_box_backup.ps1 b/Virtual_box_backup.ps1 index 84dd9ea..cca97ed 100644 --- a/Virtual_box_backup.ps1 +++ b/Virtual_box_backup.ps1 @@ -13,7 +13,8 @@ $backupDriveLetterMount = "L" $backupFilename = $backupDriveLetterMount + ":\" + [string](Get-Date).Year + [string](Get-Date).Month + [string](Get-Date).Day + "_Intranet_Backup.ova" $vmName = "2018_intranet" $logFile = "c:\logs\vm_backup.log" - + +$Time=Get-Date "################ Starting Intranet Backup at $Time ######################" | out-file $logFile -append # mounting backup path New-PSDrive -Name L -Root \\freenas\programas\VM_Backup\ -Persist -PSProvider FileSystem