mirror of
https://github.com/dfinke/ImportExcel.git
synced 2026-01-06 02:24:04 +00:00
add to exported functions, formatting, fix typo.
This commit is contained in:
@@ -41,7 +41,7 @@ function Invoke-ExcelQuery {
|
||||
[String] $Query # var name consistent with Invoke-Sqlcmd
|
||||
)
|
||||
$FullName = (Get-ChildItem $Path).FullName
|
||||
Invoke-ExcelQuery `
|
||||
Read-OleDbData `
|
||||
-ConnectionString "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=$FullName;Extended Properties='Excel 12.0 Xml;HDR=NO;IMEX=1;'" `
|
||||
-SqlStatement $Query
|
||||
}
|
||||
Reference in New Issue
Block a user