Skip to content

Script uses Write-Output instead of Write-Host #46

Description

@aaronparker

https://github.com/Get-Nerdio/NMW/blob/bf8e3d5cefbde0d8e7ac903067ee3780dd15aca4/scripted-actions/azure-runbooks/Update Az.DesktopVirtualization module.ps1#L31

This line should be use Write-Host, instead of Write-Output. It's used in a function, so using Write-Output could create an issue if something uses output from the function.

Write-Output "Update module: $ModuleName"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions