uninitialized variable $idx leaks into the pipeline when -TableName parameter is used.

This commit is contained in:
attilamihalicz
2016-07-07 13:22:16 +02:00
parent d520c12227
commit 2cd807abfb

View File

@@ -254,8 +254,6 @@ function Export-Excel {
$tbl = $ws.Tables.Add($targetRange, $TableName)
$tbl.TableStyle=$TableStyle
$idx
}
if($IncludePivotTable) {