Add module import scripts globally
This commit is contained in:
parent
fde022fad4
commit
a56db768ee
1 changed files with 1 additions and 1 deletions
|
@ -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