-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathImportAllRoot.ps1
More file actions
24 lines (17 loc) · 895 Bytes
/
ImportAllRoot.ps1
File metadata and controls
24 lines (17 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env pwsh
# Executes all utility scripts in the current directory, in order to import all the definitions
# https://github.com/ajgorhoe/IGLib.modules.IGLibScriptsPS.git
# Execute definitions from other files:
. "$(Join-Path "$PSScriptRoot" "Common.ps1")"
# Check whether the current script has already been executed before:
CheckScriptExecuted $ExecutedScriptPath_ImportAll $MyInvocation.MyCommand.Path;
# Store scritp path in a variable in order to enable later verifications:
$ExecutedScriptPath_ImportAll = $MyInvocation.MyCommand.Path
# Execute all utility scripts:
# Execute basic utility scripts:
. $(Join-Path "$PSScriptRoot" "Common.ps1")
. $(Join-Path "$PSScriptRoot" "PSInfo.ps1")
. $(Join-Path "$PSScriptRoot" "File.ps1")
. $(Join-Path "$PSScriptRoot" "GitHelpers.ps1")
# Execute specialized scripts in psutils:
. $(Join-Path "$PSScriptRoot" "psutils/UtilsWeb.ps1")