Add some output messages
This commit is contained in:
parent
2a40ac1377
commit
1397b77f49
1 changed files with 6 additions and 3 deletions
|
@ -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)"
|
||||
}
|
||||
|
|
Reference in a new issue