Import scripting module inside the PowerManagement module

This commit is contained in:
Manuel Thalmann 2024-08-01 12:24:28 +02:00
parent 12c449eb7c
commit 5ff8639898

View file

@ -1,7 +1,7 @@
using namespace Microsoft.Win32;
. "$PSScriptRoot/Scripting.ps1";
$null = New-Module {
. "$PSScriptRoot/Scripting.ps1";
[RegistryKey] $key = $null;
$runOncePath = "HKLM:\Software\Microsoft\Windows\CurrentVersion\RunOnce";
$runOnceName = "PortValhalla";