init.ps1
$CurrentPSModulePath = [Environment]::GetEnvironmentVariable("PSModulePath") $RMSRoot = $PSScriptRoot -replace "tools" $CurrentPSModulePath += ";" + $RMSRoot [System.Environment]::SetEnvironmentVariable("PSModulePath",$CurrentPSModulePath, [System.EnvironmentVariableTarget]::User) $env:PSModulePath += ";" + $RMSRoot |