Skip to content

Use Write-Debug instead of Write-Host to avoid polluting the output stream #6

Description

@peombwa
        if ($Result.Count -gt 0) {
            Write-Host -ForegroundColor Green "--------- Your script(s) contains commands that need to conform to the naming convention as per the 'New' column on the table below ---------"
            Write-Output $Result | Format-Table
        }
        if($WriteToFile){
            Write-Host -ForegroundColor Blue "Your updated script is on this path: $UpdatedFile" 
        }

Reference: https://github.com/microsoftgraph/msgraph-tools-migration/blob/34693fc8fd2414055c16c7cc34091a778615b851/Microsoft.Graph.Migration.Tool.psm1#L143C13-L147

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