From a56db768eed12cc24b2320a83492f26e844590e9 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 19 Sep 2024 22:25:48 +0200 Subject: [PATCH] Add module import scripts globally --- scripts/Common/Software/PowerShell/Module.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Common/Software/PowerShell/Module.ps1 b/scripts/Common/Software/PowerShell/Module.ps1 index 27116cdb..37c6fef6 100644 --- a/scripts/Common/Software/PowerShell/Module.ps1 +++ b/scripts/Common/Software/PowerShell/Module.ps1 @@ -62,7 +62,7 @@ $null = New-Module { $name = $Arguments.Name; Add-PowerShellProfileStatement ` - -DefaultUser ` + -System ` -Category $name ` -Script "Import-Module `"$name`";"; };