Add some output messages

This commit is contained in:
Yorick Barbanneau 2021-01-19 16:49:28 +01:00
parent 2a40ac1377
commit 1397b77f49

View file

@ -126,9 +126,12 @@ $backup.actions | % {
$destination = ""
$source = ""
# Test input path
Write-Debug "Process action : $($_.name) | type: $($_.type)"
if ( $_.psobject.properties.match('source_eval').Count -and $_.source_eval -eq $true ) {
Set-Message "---"
Set-Message "Process action : $($_.name) | type: $($_.type)"
Set-Message "---"
# Process source
if ( $_.psobject.properties.match('source_eval').Count -and $_.source_eval -eq $true ) {
$_.source = eval_var $($_.source)
Write-Debug "Result $($_.source)"
}