Add module import scripts globally
This commit is contained in:
parent
937d59781f
commit
aba5604371
|
@ -62,7 +62,7 @@ $null = New-Module {
|
|||
$name = $Arguments.Name;
|
||||
|
||||
Add-PowerShellProfileStatement `
|
||||
-DefaultUser `
|
||||
-System `
|
||||
-Category $name `
|
||||
-Script "Import-Module `"$name`";";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue