FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
ggolubovic
Staff & Editor
Staff & Editor
Article Id 413258
Description

 

This article describes how to collect user and workstation info via PowerShell script for FSSO troubleshooting.

 

Scope

 

FSSO in FortiGate.

 

Solution

 

During FSSO troubleshooting, it is important to have valid data about endpoint user and workstation.

The following PowerShell script collect all of it in one log file.

Data collected with scripts are:

  • current Date and Time
  • workstation hostname
  • scheduled task list with user account info
  • ipconfig /all - command output
  • set - command output, environment variable
  • mapped network drives info
  • quser - command output, information about user sessions on a Remote Desktop Session Host server

Download and unpack fsso_debug.zip file into the desired folder.

 

Open the PowerShell command line from the Windows start menu, select PowerShell, and choose run as administrator. 

Default log file location is under C:\temp\ folder. Ensure that a temp folder has been created before running the script.

In the PowerShell command line, navigate to the folder where fsso_debug.ps1 is extracted and execute it with .\fsso_debug.ps1

Collect ftnt_endpoint_fsso.txt from C:\temp and provide for further analysis.

Contributors