Using Echo instead of write-output

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Richard Siddaway Richard Siddaway 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38375
    Profile photo of Graham Beer
    Graham Beer
    Participant

    Is it frowned upon to use echo in a script instead of write-output ?

    #38377

    Echo is an alias of Write-Output. It is generally viewed as best practice NOT to use aliases in scripts. Always use the full cmdlet & parameter names. It doesn't affect performance and improves readability immensely.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.