> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/ja/toekusupto/advanced-search/advanced-search-syntax.md).

# 詳細検索の例

## ユーザー

**すべてのドイツのユーザーを取得:**

[`country:DE`](https://portal.realmjoin.com/users/all?search=country%3ADE)

***

**特定の部門のすべてのユーザーを取得:**

[`department:"営業部門"`](https://portal.realmjoin.com/users/all?search=department%3A%22Sales%20Department%22)

***

**CEO の役職を持つすべてのユーザーを取得:**

[`job:CEO`](https://portal.realmjoin.com/users/all?search=job%3ACEO)

***

**ドイツにいない CEO の役職を持つすべてのユーザーを取得:**

[`job:CEO country!:Germany`](https://portal.realmjoin.com/users/all?search=job%3ACEO%20country!%3AGermany)

***

**部門が空の、ADM- で始まるすべてのユーザーを取得:**

[`name:ADM- department=""`](https://portal.realmjoin.com/users/all?search=name%3AADM-%20department%3D%22%22)

***

**郵便番号 63065 のすべてのユーザーを取得:**

[`zip:63065`](https://portal.realmjoin.com/users/all?search=zip%3A63065)

***

**特定のドメインを持つすべてのユーザーを一覧表示:**

[`domain.com`](https://portal.realmjoin.com/users/all?search=domain.com)

***

## グループ

**すべての静的グループを取得:**

[`IsStatic:1`](https://portal.realmjoin.com/groups/all?search=IsStatic%3A1)

***

**すべての動的グループを取得:**

[`IsStatic:0`](https://portal.realmjoin.com/groups/all?search=IsStatic%3A0)

***

## デバイス

**Windows 11 バージョン 22H2 のすべてのデバイスを取得:**

[`os:"Windows 11 (22H2)"`](https://portal.realmjoin.com/devices?search=OS%3D%22Windows%2011%20\(22H2\)%22)

***

**すべてのプリンターを取得:**

[`OS:Printer`](https://portal.realmjoin.com/devices?compliance=0\&type=0\&search=OS%3APrinter)

***

**すべての Dell XPS デバイスを取得:**

[`manu:dell model:xps`](https://portal.realmjoin.com/devices?search=manu%3Adell%20model%3Axps)

***

**RealmJoin バージョン 4.19 がインストールされたすべてのデバイスを取得:**

[`rj:4.19`](https://portal.realmjoin.com/devices?search=rj%3A4.19)

***

**すべての Surface Hub を取得:**

[`Model:Surface Hub`](https://portal.realmjoin.com/devices?search=Model%3ASurface%20Hub)

***

**特定の MAC アドレス（任意のアダプター）を持つすべてのデバイスを取得:**

[`mac:E8-62-BE`](https://portal.realmjoin.com/devices?search=mac%3AE8-62-BE)

***

**イーサネット MAC アドレスに基づくすべてのデバイスを取得:**

[`ethMac:E862BE`](https://portal.realmjoin.com/devices?search=ethMac%3AE862BE)

***

**Wi‑Fi MAC アドレスに基づくすべてのデバイスを取得:**

[`wifiMac:D4-BE`](https://portal.realmjoin.com/devices?search=wifiMac%3AD4-BE)

{% hint style="info" %}
`mac:` (エイリアス `macAddress:`) は、 **すべて** デバイスに関連付けられた既知の MAC アドレス全体を検索します — Intune のイーサネット MAC、Intune の Wi‑Fi MAC、および RealmJoin エージェントによって報告されたすべてのネットワーク アダプターです。使用するには `ethMac:` (エイリアス `ethernetMac:`) または `wifiMac:` (エイリアス `wlanMac:`) を使用して、Intune のイーサネット MAC または Wi‑Fi MAC を指定します。

区切り文字の有無にかかわらず MAC アドレスを入力できます（`:`, `-`、または `.`）または部分一致で検索できます。たとえば `mac:E862`。他のフィールドと同様に、 `=` を使用すると完全一致になります（`mac=E862BE...`）。また、 `!:`/`!=` で値を除外します。
{% endhint %}

***

## パッケージ

**RealmJoin（基本）パッケージをすべて取得:**

[`Type:1`](https://portal.realmjoin.com/apps?search=Type%3A1)

***

**Intune（基本）パッケージをすべて取得:**

[`Type:3`](https://portal.realmjoin.com/apps?search=Type%3A3)

***

**Intune（管理対象）パッケージをすべて取得:**

[`Type:5`](https://portal.realmjoin.com/apps?search=Type%3A5)

***

**RealmJoin（管理対象）パッケージをすべて取得:**

[`Type:7`](https://portal.realmjoin.com/apps?search=Type%3A7)

***

**実行中のプレビューを持つすべてのパッケージを取得:**

[`StatusCurrentPreviewVersionParsed:`](https://portal.realmjoin.com/apps?search=StatusCurrentPreviewVersionParsed%3A)

***

**「PreRelease」パッケージをすべて取得（非推奨）:**

[`Preview:1`](https://portal.realmjoin.com/apps?search=Preview%3A1)


---

# 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 dynamically by asking a question.

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

```
GET https://docs.realmjoin.com/ja/toekusupto/advanced-search/advanced-search-syntax.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
