Update 'Virtual_box_backup.ps1'

This commit is contained in:
zwnk 2018-11-30 16:39:34 +01:00
parent e37a403e7c
commit 82d6a5f62f
1 changed files with 2 additions and 1 deletions

View File

@ -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