Add module import scripts globally
This commit is contained in:
parent
745f6d465a
commit
6c0b7ebbaf
|
@ -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