internal/scripts/postimport.ps1
# Add all things you want to run after importing the main code # Load Configurations foreach ($file in (Get-ChildItem "$ModuleRoot\internal\configurations\*.ps1" -ErrorAction Ignore)) { . Import-ModuleFile -Path $file.FullName } # Load Tab Expansion foreach ($file in (Get-ChildItem "$ModuleRoot\internal\tepp\*.tepp.ps1" -ErrorAction Ignore)) { . Import-ModuleFile -Path $file.FullName } # Load Tab Expansion Assignment . Import-ModuleFile -Path "$ModuleRoot\internal\tepp\assignment.ps1" # Load License . Import-ModuleFile -Path "$ModuleRoot\internal\scripts\license.ps1" # Load Enums . Import-ModuleFile -Path "$ModuleRoot\internal\scripts\enum-environmenttype.ps1" # Load Variables . Import-ModuleFile -Path "$ModuleRoot\internal\scripts\variables.ps1" # Add the System.Web type Add-Type -AssemblyName System.Web # Add the System.Net.Http type Add-Type -AssemblyName System.Net.Http # Add the System.IO.Compression type Add-Type -AssemblyName System.IO.Compression # Add the System.IO.Compression.FileSystem type Add-Type -AssemblyName System.IO.Compression.FileSystem |