Skip to content

Remove Write-Host as it can't be removed from output easily#93

Open
MisterDuval wants to merge 1 commit intoKelvinTegelaar:masterfrom
MisterDuval:patch-1
Open

Remove Write-Host as it can't be removed from output easily#93
MisterDuval wants to merge 1 commit intoKelvinTegelaar:masterfrom
MisterDuval:patch-1

Conversation

@MisterDuval
Copy link

In Atera, I use output value to update a field, but if you already output data, it messes outputed value.

The only solution was to redefine Write-Host
function Write-Host { }
then put it back:
Remove-Item function:\Write-Host

In Atera, I use output value to update a field, but if you already output values, it messes the value.
The only solution was to redefine Write-Host
`function Write-Host { }`
then put it back:
`Remove-Item function:\Write-Host`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant