Add module import scripts globally

This commit is contained in:
Manuel Thalmann 2024-09-19 22:25:48 +02:00
parent fde022fad4
commit a56db768ee

View file

@ -62,7 +62,7 @@ $null = New-Module {
$name = $Arguments.Name; $name = $Arguments.Name;
Add-PowerShellProfileStatement ` Add-PowerShellProfileStatement `
-DefaultUser ` -System `
-Category $name ` -Category $name `
-Script "Import-Module `"$name`";"; -Script "Import-Module `"$name`";";
}; };