Differences

This shows you the differences between the selected revisions of the page.

2019-09-24 2020-07-15
Since 5.16 we will be using !E instead of !S (martin) indentation (martin)
Line 98: Line 98:
            if (!$result.IsSuccess)             if (!$result.IsSuccess)
            {             {
-··············if ($continueOnError) +················if ($continueOnError) 
- ·············+ ···············
- ···············Write-Host "Error: $($result.Failures[0].Message)" + ···················Write-Host "Error: $($result.Failures[0].Message)" 
- ···············$changed = $True + ···················$changed = $True 
- ·············+ ···············
- ·············else + ···············else 
- ·············+ ···············
- ···············$result.Check() + ···················$result.Check() 
- ·············}+ ···············}
            }             }

Last modified: by martin