PSPocs_Environment.ps1

# ===========================================================================
# PSPocs_Environment.ps1 --------------------------------------------------
# ===========================================================================

# environment -------------------------------------------------------------
# ---------------------------------------------------------------------------
@(
    @{  # document and bibliography management environment variable
        Name="ProjectEnv"
        Value="$($PSPocs.Name.ToUpper())_PROJECT"
    }
    @{  # backup of document and bibliography management environment variable
        Name="ProjectEnvOld"
        Value="$($PSPocs.Name.ToUpper())_PROJECT_OLD"
    }
    @{  # offline use of module
        Name="ProjectOffline"
        Value="PSVIRTUALENV_OFFLINE"
    }
) | ForEach-Object {
    $PSPocs | Add-Member -MemberType NoteProperty -Name $_.Name -Value $_.Value
}