Skip to content

Delete specific rows from ErrorRecord #2319

Discussion options

You must be logged in to vote

$_.ErrorRecord.DisplayErrorMessage -replace '(?ms)^Expected length:.*?(Expected:.*?)\s+\^', '$1'

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@SQLDBAWithoutABeard
Comment options

@fflaten
Comment options

@SQLDBAWithoutABeard
Comment options

@fflaten
Comment options

Answer selected by fflaten
@SQLDBAWithoutABeard
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants