Create a function for running ps user scripts
This commit is contained in:
parent
56e56c5cea
commit
731eb7e31a
5 changed files with 8 additions and 4 deletions
scripts/Common/Software/git
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue