Category filter

Script to fetch browsing history on Windows devices

Employees in an organization may use their company-owned devices for non-work-related purposes. Admins can inspect employees’ browsing histories to understand what they have surfed on the internet with their corporate devices. However, manually checking the browsing history on every device is tiresome. Hence, you can deploy scripts from the Hexnode portal to fetch browsing history from Windows devices remotely.

Note:


Supported Versions:

The scripts given below will be supported on the following versions:

  • Windows 10 v1607+ (Pro, Enterprise, Education)
  • Windows 11 (Pro, Enterprise, Education)

Disclaimer:

The sample scripts provided below are adapted from third-party open-source sites.

PowerShell script to get the browsing history of Google Chrome

Windows script to fetch browsing history of Google Chrome returns the output in the Action History tab of Hexnode.

Replace “USERNAME” with the username from which you would like to retrieve browsing history.

PowerShell script to get the browsing history of Microsoft Edge

Windows script to fetch browsing history of Microsoft Edge returns the output in the Action History tab of Hexnode.

Replace “USERNAME” with the username from which you would like to retrieve browsing history.

PowerShell script to get the browsing history of Firefox

Windows script to fetch browsing history of Firefox returns the output in the Action History tab of Hexnode.

Replace “USERNAME” with the username from which you would like to retrieve browsing history.

How to View Script Output in Hexnode

To review the execution results, navigate to the Action History tab of the specific device in your Hexnode UEM portal. Locate the script entry in the Subject column and click the Show Output button next to the status field to view the returned data.

Notes:

  • These scripts depend on the PSSQLite PowerShell module. Ensure that the module is installed on the device before running any of the scripts.
  • It is recommended to manually validate the script execution on a system before executing the action in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the script.

Sample Script Repository