diff --git a/Tools.ps1 b/Tools.ps1 index c6d174a..5c907f0 100644 --- a/Tools.ps1 +++ b/Tools.ps1 @@ -9,6 +9,9 @@ [string]$Global:LogsDirectory [string]$Global:LogFile +# Define the root path for the MSP in the Windows Registry +[string]$Global:MSPRegistryRoot = "HKEY_LOCAL_MACHINE\SOFTWARE\${MSPName}" + ## Setup the MSP management directories Function Setup-MSPDirectories { If ( Test-Path ${Env:ProgramData} ) { $Global:RootDirectory = "${Env:ProgramData}\${MSPName}" } Else { $Global:RootDirectory = "${Env:SystemDrive}\${MSPName}" } @@ -892,4 +895,5 @@ Function Restart-EndpointOnUptime ([timespan]$MaxUptime) { } Setup-MSPDirectories -Setup-LogFile \ No newline at end of file +Setup-LogFile +SetToolsScriptLocation \ No newline at end of file