There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Write-Log -Message parameter backwards incompatible
I noticed today in re-using an older package's Deploy-Application.ps1 with the newer framework versions, that the
-Message parameter of the Write-Log function used to be called
So an 'old' function call of Write-Log -Text "Some Text" should now be
Write-Log -Message "Some text", and the first variation now causes the script to fail.
While personally I absolutely prefer -Message as a parameter name, changing this might cause issues with backwards compatibility. Would it perhaps be possible to provide a "dummy" -Text variable which value gets put into $Message if present in the