azureautomation / runbooks

Sample Automation runbooks
MIT License
150 stars 128 forks source link

Switching to the recommended PS 7.2 runbook the JSON output contains unwanted data #107

Open brolifen opened 4 months ago

brolifen commented 4 months ago

I switched some hybrid worker runbooks to PS7.2 and everything seems to be working fine however the output now comes with extra chatter that seems to be part of the verbose logging (which is also disabled.). It looks like there is some sort of data leak happening.

`Name Value


PSVersion 7.4.1 PSEdition Core GitCommitId 7.4.1 OS Microsoft Windows 10.0.17763 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0`

image

Since the JSON output is used in a Logic App it completely tripped the logic app as well due malformed JSON.

image