Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-WebrootListing.ps1 output needs to be ASCII encoded #119

Open
jt-msft opened this issue Aug 13, 2015 · 1 comment
Open

Get-WebrootListing.ps1 output needs to be ASCII encoded #119

jt-msft opened this issue Aug 13, 2015 · 1 comment
Labels

Comments

@jt-msft
Copy link
Collaborator

jt-msft commented Aug 13, 2015

Received an error from Logparser when trying to analyze output from Get-WebrootListing.ps1 module that "some bytes remained undecoded" which blocked results. Re-encoding the output files to ASCII allowed Logparser to read them correctly.

Probably a bug in Logparser, but we can implement a workaround here.

@jt-msft jt-msft added the bug label Aug 13, 2015
@davehull
Copy link
Owner

Can you try adding this line before the objects are returned and see if it fixes it? I don't have a web server handy to test against:

$OutputEncoding = [System.Text.Encoding]::ASCII

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants