mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-15 15:53:32 +00:00
add psd1 check
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
|
try {. $PSScriptRoot\..\..\LoadPSD1.ps1} catch {}
|
||||||
|
|
||||||
$xlfilename=".\test.xlsx"
|
$xlfilename=".\test.xlsx"
|
||||||
rm $xlfilename -ErrorAction Ignore
|
rm $xlfilename -ErrorAction Ignore
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
try {. $PSScriptRoot\..\..\LoadPSD1.ps1} catch {}
|
||||||
|
|
||||||
function Test-APIReadXls {
|
function Test-APIReadXls {
|
||||||
param(
|
param(
|
||||||
[parameter(Mandatory)]
|
[parameter(Mandatory)]
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
try {. $PSScriptRoot\..\..\LoadPSD1.ps1} catch {}
|
||||||
|
|
||||||
. $PSScriptRoot\TestAPIReadXls.ps1
|
. $PSScriptRoot\TestAPIReadXls.ps1
|
||||||
|
|
||||||
Test-APIReadXls $PSScriptRoot\testlist.xlsx | % {
|
Test-APIReadXls $PSScriptRoot\testlist.xlsx | % {
|
||||||
|
|||||||
Reference in New Issue
Block a user