Update 'Virtual_box_backup.ps1'
This commit is contained in:
parent
e37a403e7c
commit
82d6a5f62f
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ $backupDriveLetterMount = "L"
|
||||||
$backupFilename = $backupDriveLetterMount + ":\" + [string](Get-Date).Year + [string](Get-Date).Month + [string](Get-Date).Day + "_Intranet_Backup.ova"
|
$backupFilename = $backupDriveLetterMount + ":\" + [string](Get-Date).Year + [string](Get-Date).Month + [string](Get-Date).Day + "_Intranet_Backup.ova"
|
||||||
$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
|
||||||
|
|
Loading…
Reference in a new issue