Create a function for running ps user scripts

This commit is contained in:
Manuel Thalmann 2024-09-22 23:51:38 +02:00
parent 56e56c5cea
commit 731eb7e31a
5 changed files with 8 additions and 4 deletions
scripts/Common/Software/git

View file

@ -8,7 +8,7 @@ begin
end
function userConfig -S -V dir -a name
pwsh -CommandWithArgs '& $args[0] ConfigureUser @{ name=$args[1]; }' "$dir/Manage.ps1" $name
runPSUserConfig "$dir/Manage.ps1" $name
end
runInstaller $argv