Add module import scripts globally
This commit is contained in:
parent
bb55434659
commit
20826fd8e5
|
@ -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