From aba5604371e9d6b16f503929918cb4cf0798b633 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 27116cdba..37c6fef6a 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`";"; };