# Commander v16.6.5

Find the release on GitHub: <https://github.com/Keeper-Security/Commander/releases/tag/v16.6.5>

## New Features

### Add and Edit Managed Companies in one Script

The `msp-add` command now sets the new managed company's ID as environment variable that can be used to access the managed company from within a script.

See the docs for more information and examples: [Switch to managed company command](/keeperpam/jp/commander-cli/command-reference/msp-management-commands.md#switch-to-mc-command)

### Export From a Folder

It is now possible to export a portion of the Vault be specifying a folder when using the `export` command. See the documentation for more details: [Export command](/keeperpam/jp/commander-cli/command-reference/import-and-export-commands.md#export-command)

## Bug Fixes and Improvements

* Fixed an issue causing Unicode parsing errors when outputting to CSV
* Made `import` command more robust when encountering null values
* re-instated `connect` command and gave it typed record compatibility


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keeper.io/release-notes/jp/developer-tools/commander/older/commander-v16.6/commander-v16.6.5.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
