powershell XLS to CSV conversion issue
问题 I am running below code with to convert XLS to CSV but getting strange error. Can someone point me to right direction as to what can be causing this issue? I am using powershell v3.0. not sure what I am missing here. PARAM ( [parameter(Mandatory = $true)] [string] $excelFilePath = $(throw "Must give a valid Excel (*.xls) file path.") , [parameter(Mandatory = $true)] [int] $leadingRowsToDelete = $(throw "Must specify how many leading rows to delete.") , [parameter(Mandatory = $false)] [string]