I have a large excel worksheet that I want to add to my database.
Can I generate an SQL insert script from this excel worksheet?
Use the ConvertFrom-ExcelToSQLInsert from the ImportExcel in the PowerShell Gallery
ConvertFrom-ExcelToSQLInsert
NAME ConvertFrom-ExcelToSQLInsert SYNTAX ConvertFrom-ExcelToSQLInsert [-TableName] [-Path] [[-WorkSheetname] ] [[-HeaderRow] ] [[-Header] ] [-NoHeader] [-DataOnly] [] PARAMETERS -DataOnly -Header -HeaderRow -NoHeader -Path -TableName -WorkSheetname This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216). ALIASES None REMARKS None