Diagnostic Tool
Set-ExecutionPolicy RemoteSigned -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://twosense-public.s3.amazonaws.com/TwosenseDiagnosticTool.ps1'))Last updated
If you reach out to Twosense for support, you may be asked to run the Twosense Diagnostic Tool. It is a PowerShell script that runs a suite of self-tests, collects basic information about the system (such as OS version, domain-joined status, etc.), and copies logs from installed Twosense software to a single zip file that can be sent back to Twosense for further investigation.
To run the tool, follow these steps on the machine that is experiencing the issue:
If possible, sign in as the user experiencing the issue.
Open a new PowerShell window as administrator.
Navigate to a directory where you want the diagnostic information to be saved (such as the desktop, for example).
Paste the following one-liner into the window and run it:
Set-ExecutionPolicy RemoteSigned -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://twosense-public.s3.amazonaws.com/TwosenseDiagnosticTool.ps1'))If you wish to inspect the contents or verify the integrity of the script before execution, you can download it directly from the URL above. The script is digitally signed by Twosense; you may verify this under File Properties -> Digital Signatures.

Once the diagnostic tool is finished, it will offer to send the information to the Twosense team. After entering your details, the diagnostic information will automatically be sent to us for further inspection. If you're having trouble with the automatic upload process, you can attach the generated zip file to an email instead.
Last updated