add psd1 check

This commit is contained in:
dfinke
2018-07-16 15:26:58 -04:00
parent 0b2aaefac5
commit 69b5b7f169
3 changed files with 6 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
 try {. $PSScriptRoot\..\..\LoadPSD1.ps1} catch {}
$xlfilename=".\test.xlsx" $xlfilename=".\test.xlsx"
rm $xlfilename -ErrorAction Ignore rm $xlfilename -ErrorAction Ignore

View File

@@ -1,3 +1,5 @@
try {. $PSScriptRoot\..\..\LoadPSD1.ps1} catch {}
function Test-APIReadXls { function Test-APIReadXls {
param( param(
[parameter(Mandatory)] [parameter(Mandatory)]

View File

@@ -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 | % {