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;
|
$name = $Arguments.Name;
|
||||||
|
|
||||||
Add-PowerShellProfileStatement `
|
Add-PowerShellProfileStatement `
|
||||||
-DefaultUser `
|
-System `
|
||||||
-Category $name `
|
-Category $name `
|
||||||
-Script "Import-Module `"$name`";";
|
-Script "Import-Module `"$name`";";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue