Skip to content

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

@zygimantus

Description

@zygimantus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions