# 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: 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.nexthink.com/platform/ja/references/references-classic/database-information-and-organization-classic/investigation-with-packages-with-finder-classic.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.
