mirror of
https://github.com/dfinke/ImportExcel.git
synced 2026-01-03 00:53:15 +00:00
Minor tidying. Making case consistent, and various things analyzer friendly; added Timeout to Send-SQL...,
This commit is contained in:
@@ -19,7 +19,7 @@ function Export-ExcelSheet {
|
||||
$xl = New-Object -TypeName OfficeOpenXml.ExcelPackage -ArgumentList $Path
|
||||
$workbook = $xl.Workbook
|
||||
|
||||
$targetSheets = $workbook.Worksheets | Where {$_.Name -Match $SheetName}
|
||||
$targetSheets = $workbook.Worksheets | Where-Object {$_.Name -Match $SheetName}
|
||||
|
||||
$params = @{} + $PSBoundParameters
|
||||
$params.Remove("OutputPath")
|
||||
|
||||
Reference in New Issue
Block a user