Functions/Startup.ps1
function Startup { [CmdletBinding()] param ( ) Set-Location "\" $GitFolder = "$($env:USERPROFILE)\git" $ImportedModules = @() Get-ChildItem $GitFolder -Depth 1 -File *.psd1 | ForEach-Object { $ImportedModules += Import-Module $_.FullName -Force -Global } Get-Alias | Where-Object Source -EQ "JaapsTools" | Select-Object Name, ResolvedCommand | Format-Table New-Alias -Name uss Unlock-SecretStore -PassThru -Force -ErrorAction 0 -Scope Global } |