Skip to content

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

@aaronparker

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions