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

Cannot convert 'System.Object[]' to the type 'System.String #4

Open
zygimantus opened this issue Oct 7, 2020 · 0 comments
Open

Cannot convert 'System.Object[]' to the type 'System.String #4

zygimantus opened this issue Oct 7, 2020 · 0 comments

Comments

@zygimantus
Copy link

Hello, I was trying to use your ps script but it throw error:

Out-File : Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'FilePath'. Specified method is not supported.
At line:1 char:66

  • ... e -append -Encoding ascii -filepath .\jstack.17044.1.1602071301,79466
  •                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (:) [Out-File], ParameterBindingException
    • FullyQualifiedErrorId : CannotConvertArgument,Microsoft.PowerShell.Commands.OutFileCommand
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

No branches or pull requests

1 participant