Make Powershell Great Again!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

11 lines
345 B

# Run all scripts in the install folder
$list = @()
Get-ChildItem -Path install -Filter:*.ps1 -EA:Ignore | ForEach-Object {
$list += $_.BaseName
. $_.FullName
}
Write-Output "Installed: [$($list -join "] [")]"
# Add to profile
$loadscript = Join-Path (Get-Location) "Load.ps1"
". $loadscript" | Add-Content -Path $Profile -Encoding UTF8