From 20826fd8e5c517ffaf29e4d650268cc37259aca8 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 49373eda..6a5a1912 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`";"; };