Update 'Virtual_box_backup.ps1'

This commit is contained in:
zwnk 2018-11-30 16:39:34 +01:00
parent e37a403e7c
commit 82d6a5f62f

View file

@ -14,6 +14,7 @@ $backupFilename = $backupDriveLetterMount + ":\" + [string](Get-Date).Year + [st
$vmName = "2018_intranet" $vmName = "2018_intranet"
$logFile = "c:\logs\vm_backup.log" $logFile = "c:\logs\vm_backup.log"
$Time=Get-Date
"################ Starting Intranet Backup at $Time ######################" | out-file $logFile -append "################ Starting Intranet Backup at $Time ######################" | out-file $logFile -append
# mounting backup path New-PSDrive -Name L -Root \\freenas\programas\VM_Backup\ -Persist -PSProvider FileSystem # mounting backup path New-PSDrive -Name L -Root \\freenas\programas\VM_Backup\ -Persist -PSProvider FileSystem