Script library

Boost your management, troubleshooting and remediation capabilities with scripts created by experts in the IT community.

Capture and analyse network traffic received for all processes in the specified sessions in a specified time period, showing the IP addresses and DNS names of the remote systems, the port used, the amount of data received in the capture period and the processes involved.
Arguments:
Capture Time - the number of seconds to run a network capture for (default 15 seconds)
Show top - show only the top n sources (default is 10)

Credits: based on "Capture Network IO for process" SBA by Andrew Morgan
View Script
Version: 1.4.18  •   Created: 2018-09-26  •   Modified: 2018-11-20
Retreives the SCSI Controller used by the VM
View Script
Version: 2.5.9  •   Created: 2018-09-21  •   Modified: 2019-07-02
14
Starts procmon with retention of all events. Use with caution!
View Script
Version: 2.10.22  •   Created: 2018-09-06  •   Modified: 2023-02-27
Traces the activity of the selected process ID
View Script
Version: 2.3.5  •   Created: 2018-09-06  •   Modified: 2025-02-23
Starts process monitor filtering on all activity in the users session
View Script
Version: 2.4.29  •   Created: 2018-09-05  •   Modified: 2025-02-23
Capture and analyse network traffic received for the specified process in a specified time period, showing the IP addresses and DNS names of the remote systems, the port used, the amount of data received in the capture period.
Arguments:
Capture Time - the number of seconds to run a network capture for (default 15 seconds)
Show top - show only the top n sources (default is 10)

Credits: based on "Capture Network IO for process" SBA by Andrew Morgan
View Script
Version: 1.5.20  •   Created: 2018-08-22  •   Modified: 2018-11-20
Shows established network connections for all processes in a selected user session sorted on the most connections by processing netstat -ano output.
Arguments:
Show Top - Show the top n connections (default 1000)
Resolve IP to Name - Show DNS names rather than IP addresses (default false)
Resolve IP via RIPE - Use internet registrar API to resolve non-DNS resolvable names (default false)
View Script
Version: 1.5.7  •   Created: 2018-08-21  •   Modified: 2018-11-20
Shows established network connections for all processes sorted on the most connections by processing netstat -ano output.
Arguments:
Show Top - Show the top n connections (default 1000)
Resolve IP to Name - Show DNS names rather than IP addresses (default false)
Resolve IP via RIPE - Use internet registrar API to resolve non-DNS resolvable names (default false)
View Script
Version: 1.6.25  •   Created: 2018-08-21  •   Modified: 2018-11-20
Shows established network connections for a process sorted on the most connections by processing netstat -ano output.
Arguments:
Show Top - Show the top n connections (default 1000)
Resolve IP to Name - Show DNS names rather than IP addresses (default false)
Resolve IP via RIPE - Use internet registrar API to resolve non-DNS resolvable names (default false)
View Script
Version: 1.6.14  •   Created: 2018-08-21  •   Modified: 2018-11-20
Show files over a specified size which have been modified within a given number of days, sorted either by age or size. The starting folder for the search can also be specified.
Use it to find large and/or recently modified files which are impacting on free disk space on a given partition.
Arguments:
Starting Folder - the local drive/folder on the selected computer where the recursive search will start from (default is C:)
Size Over - include files whose size exceeds this value which can be specifid in KB, MB or GB, e.g. 250MB (default is 100MB)
Last Write Within - include files last written to within a given number of days (default is 30)
Sort By - either size or age (default is size)
View Script
Version: 1.4.10  •   Created: 2018-07-22  •   Modified: 2018-11-26
Show folders consuming the largest amounts of disk space. Helps you to find which folders are impacting on free disk space on a given drive/folder.
Arguments:
Folder - the starting drive/folder (default is c:)
Depth - how many folder levels to descend (default is 10)
Show Top - show the top n folders consuming the most disk space (default is 10)
Last Written Within - only include files last modified within the last n days. Specify a large value such as 3000 if you are not interested in just recently modified files (default is 30)
View Script
Version: 1.4.16  •   Created: 2018-07-20  •   Modified: 2018-11-26
Show user name, logon and logoff times of all users who have logged off, or been logged off, the selected computer(s) in the last x hours where x is an argument defaulting to 48. Useful to be able to spot if many users were logged off at a specific time.
Arguments:
Hours back to search - default is 48
User - optional user name to search for otherwise all users will be displayed
View Script
Version: 1.5.7  •   Created: 2018-07-18  •   Modified: 2018-11-26
Use quser.exe to find disconnected sessions on the chosen computer and order on the most recently disconnected, showing the user's logon time too.
Arguments:
Hours Back to Check - how far back to look for disconnected sessions so those disconnected before this time will not be included (default is 24 hours)
View Script
Version: 1.6.19  •   Created: 2018-07-18  •   Modified: 2018-11-21
Retrieve NetScaler SSL vServer Binding information, using the Invoke-RestMethod cmdlet for the REST API calls.
View Script
Version: 1.0.1  •   Created: 2018-07-18  •   Modified: 2018-07-18
netscaler 126
Retrieve NetScaler Connection information, using the Invoke-RestMethod cmdlet for the REST API calls.
View Script
Version: 1.0.1  •   Created: 2018-07-18  •   Modified: 2018-07-18
netscaler 116
Retrieve NetScaler Connection information, using the Invoke-RestMethod cmdlet for the REST API calls.
View Script
Version: 1.0.1  •   Created: 2018-07-18  •   Modified: 2018-07-18
netscaler 203
Retrieve NetScaler LB Persistent Session information, using the Invoke-RestMethod cmdlet for the REST API calls.
View Script
Version: 1.0.1  •   Created: 2018-07-18  •   Modified: 2018-07-18
Retrieve NetScaler LB Persistent Session information, using the Invoke-RestMethod cmdlet for the REST API calls.
View Script
Version: 1.0.2  •   Created: 2018-07-18  •   Modified: 2018-07-18
Retrieve NetScaler Content Switching binding information, using the Invoke-RestMethod cmdlet for the REST API calls.
View Script
Version: 1.0.1  •   Created: 2018-07-18  •   Modified: 2018-07-18
Retrieve NetScaler Content Switching information, using the Invoke-RestMethod cmdlet for the REST API calls.
View Script
Version: 1.0.2  •   Created: 2018-07-18  •   Modified: 2018-07-18
  • 16
  • of 23