> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Device By Host Name

Get device info by its corresponding hostname (DNS name).

**Note:** The `hostname` may not be the same as the name displayed by **Cylance**.
The hostname is created by the operating system, while the name can be changed in the management console or API.
For domain-joined computers, the **hostname** would be `hostname.domain.com`. For computers not joined to a domain, it would just be `hostname`.

<Note>
  External Documentation

  To learn more, visit the [Cylance documentation](https://docs.arcticwolf.com/bundle/Aurora-User-API-guide/page/Get_Device_by_Hostname.html).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description                                    |
  | --------- | ---------------------------------------------- |
  | Host Name | The host name of the device to get details of. |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"id": "<string>",
		"name": "<string>",
		"host_name": "<string>",
		"os_version": "<string>",
		"os_kernel_version": "<string>",
		"state": "<string>",
		"agent_version": "<string>",
		"products": [
			{
				"name": "<string>",
				"version": "<string>",
				"status": "<string>"
			}
		],
		"policy": {
			"id": "<string>",
			"name": "<string>"
		},
		"last_logged_in_user": "<string>",
		"update_type": null,
		"update_available": true,
		"background_detection": true,
		"is_safe": false,
		"date_first_registered": "2020-03-13T21:40:40",
		"date_offline": null,
		"date_last_modified": "2021-02-10T00:14:40",
		"ip_addresses": [
			"<string>"
		],
		"mac_addresses": [
			"<string>"
		],
		"distinguished_name": "<string>",
		"dlcm_status": "<string>",
		"days_to_deletion": "<string>"
	}
]
```

## Workflow Library Example

[Get Device by Host Name with Cylance and Send Results Via Email](https://library.blinkops.com/workflows/get-device-by-host-name-with-cylance-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-device-by-host-name-with-cylance-and-send-results-via-email/canvas" />
</div>
