> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexthink.com/platform/ja/references/references-classic/database-information-and-organization-classic/investigation-with-packages-with-finder-classic.md).

# Finder（クラシック）を使用したパッケージによる調査

Nexthinkは、パッケージを取得するInvestigationsまたはパッケージに条件を含むInvestigationsを簡素化しました。結果には、実際にインストールされているパッケージのみが考慮され、未インストールのパッケージは除外されます。

それでもなお、インストールイベントを直接問い合わせることでパッケージのインストールやアンインストールを見つけることは可能です。

以下の表は、パッケージに関連するInvestigationsの典型的な使用法をまとめたものです。[すべてのInvestigationsをダウンロードする](http://download.nexthink.com/doc/Investigations_with_packages.xml) してFinderにインポートし、試してみてください。

### デバイスの取得 <a href="#investigationwithpackageswithfinder-classic-retrievingdevices" id="investigationwithpackageswithfinder-classic-retrievingdevices"></a>

| Investigation名     | 条件                                                                                                                                                            | 集計条件        |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| 特定のパッケージを持つデバイス    | パッケージ名が「abc」                                                                                                                                                  | -           |
| 特定のパッケージを持たないデバイス  | パッケージ名が「abc」                                                                                                                                                  | パッケージの数 = 0 |
| 2つの特定のパッケージを持つデバイス | <p>パッケージ名が「abc」、発行元が「ABC」、バージョンが「123」、タイプ「プログラム」<br>または</p><p>パッケージ名が「xyz」、発行元が「XYZ」、バージョンが「789」、タイプ「プログラム」</p><p>注意：パッケージは名前、発行元、バージョン、タイプによって一意に識別されます。</p> | パッケージの数 = 2 |

### インストールイベントの取得 <a href="#investigationwithpackageswithfinder-classic-retrievinginstallationevents" id="investigationwithpackageswithfinder-classic-retrievinginstallationevents"></a>

| Investigation名    | 条件                             | 集計条件 |
| ----------------- | ------------------------------ | ---- |
| 特定のパッケージのインストール   | パッケージ名が「abc」で、操作タイプが「インストール」   | -    |
| 特定のパッケージのアンインストール | パッケージ名が「abc」で、操作タイプが「アンインストール」 | -    |

### パッケージの取得 <a href="#investigationwithpackageswithfinder-classic-retrievingpackages" id="investigationwithpackageswithfinder-classic-retrievingpackages"></a>

| Investigation名                                            | 条件 | 集計条件      | 並べ替え     |
| --------------------------------------------------------- | -- | --------- | -------- |
| 最も使用されていないパッケージ                                           | -  | -         | デバイス数が昇順 |
| 最も使用されているパッケージ                                            | -  | -         | デバイス数が降順 |
| 5台未満のデバイスにインストールされているパッケージ（ただし1台のデバイスには少なくともインストールされています） | -  | デバイス数が5以下 | -        |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.nexthink.com/platform/ja/references/references-classic/database-information-and-organization-classic/investigation-with-packages-with-finder-classic.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
