Skip to content

Commit f6895da

Browse files
committed
Added Main.ps1 back
1 parent 344ef89 commit f6895da

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Main.ps1

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
#Import all script files - ISE files last
3+
Get-childItem (Join-Path $PSScriptRoot Functions) *.ps1 |
4+
Sort-object -property {$_.Fullname -like "*_ISE.ps1"} | ?{
5+
$_.Name -notlike "__*.ps1" -AND
6+
($_.Fullname -notlike "*_ISE.ps1" -OR (Test-Path variable:\psise))
7+
} | %{ . $_.FullName }

0 commit comments

Comments
 (0)