IT Toolbox
Menu
Ready-to-use library

Scripts and commands for faster troubleshooting

Script library and ready-to-copy commands for Windows, Power Shell, Linux, Network, Active Directory and FortiGate

25 scripts displayed

CMDLow risk

Scan a Windows volume without restarting

Runs an online filesystem scan of drive C without immediately scheduling an offline repair.

PowerShellLow risk

Check available disk space on Windows

Lists local volumes and calculates their utilization rate to quickly identify a full disk.

PowerShellLow risk

Show recently installed Windows updates

Lists the most recent Windows hotfixes with their KB identifier and installation date.

LinuxLow risk

Show disk space and filesystems on Linux

Shows mounted filesystems with total size, used space, available space, and utilization percentage.

PowerShellLow risk

Find critical errors from the last 24 hours

Extracts error and critical events from the System and Application logs for the last 24 hours.

CMDLow risk

Export System and Application event logs

Creates two EVTX files that can be opened in Event Viewer or sent to technical support.

PowerShellLow risk

Export the list of installed software

Lists 32-bit and 64-bit applications registered in Windows and exports the result to CSV.

FortiGateHigh risk

Trace a traffic flow on FortiGate

Temporarily enables debug flow to identify the firewall policy, route, or reason for blocked traffic.

FortiGateModerate risk

Capture packets with the FortiGate sniffer

Observes specific traffic crossing the firewall using a host-and-port filter.

FortiGateLow risk

Check IPsec tunnels on a FortiGate

Shows detailed IPsec tunnel status, selectors, and traffic counters.

FortiGateLow risk

Show general FortiGate system status

Shows the model, FortiOS version, serial number, HA mode, and uptime.

FortiGateLow risk

Show the FortiGate routing table

Lists active routes and their origin to help diagnose routing problems.

LinuxLow risk

Find large directories on Linux

Ranks top-level directories by size to help locate the source of disk saturation.

PowerShellLow risk

Generate a quick inventory of a Windows PC

Shows the computer model, serial number, Windows version, processor, memory, and disks.

PowerShellLow risk

List local administrators on a workstation

Shows local and domain accounts that are members of the workstation's local Administrators group.

PowerShellLow risk

List listening ports and Windows connections

Shows TCP connections and maps each PID to the corresponding process.

LinuxLow risk

List listening ports on Linux

Shows listening TCP and UDP sockets together with the associated processes.

CMDLow risk

Create a Windows network diagnostic report

Collects IP configuration, routes, DNS information, and several connectivity tests in a text report.

CMDLow risk

Generate a report of applied Group Policies

Creates an HTML report showing the GPOs applied to the user and computer.

CMDModerate risk

Reset Winsock and the TCP/IP stack

Resets several Windows networking components when connectivity remains broken after basic checks.

LinuxLow risk

List failed systemd services

Shows systemd units that are currently in the failed state.

PowerShellLow risk

Check BitLocker status on volumes

Shows encryption status, encryption method, and the presence of BitLocker protectors.

PowerShellLow risk

Test access to a TCP port with PowerShell

Checks whether a server responds on a specific TCP port and displays useful network information.

PowerShellLow risk

Test DNS resolution for a domain

Queries the configured DNS resolver and then a public DNS server to compare the answers.

PowerShellLow risk

Show the last boot time and Windows uptime

Calculates how long Windows has been running since the last full restart.

Support the development of BAOI Hosting, domains and new IT resources.
❤️ Support BAOI