This Script Action uses the ServiceNow API to create an incident in ServiceNow IT Service Management. The script as presented is for a specific use case: it creates an incident containing the user’s full name, the user’s logon duration and the machine name.
This Script Action can also be used as an example/template for your own ServiceNow integration needs. See the script for more details on how to modify.
Analyze Group Policy Object’s Group Policy Preferences load times, which helps break down Group Policy processing time by extension as well as by GPO. This allows for identifying individual GPOs that took longer than others to load. Requires GPP Logging to be enabled. The script itself can enable GPP logging by running it against a session with -enable in the advanced options.
This script is designed to enhance the login measurements in a computer using auditpol, wevutil and reg commands and complete the requisites for the Analyze Logon Duration Script. It will additionally increase the size of the Group Policy and Print Service Event logs to retain the information for a couple of hours after login. Important note: This script modifies the audit policies on a computer and should be used with caution. If in doubt consult with your IT Security team.
Run gpresult for the selected user to get a list of scripts that ran at logon and show where they are located, including the containing GPO’s name and GUID, so that it is easy to view the script contents with a view to troubleshooting, optimising, etc. It also shows the size of the script, any parameters passed to it and when it was last modified
Get a detailed overview of the most recent logon process for a specific user. This script queries the event log for every major event that relates to the logon process. Use this action to track down which phase is responsible for delays during the logon process. Uses WMI to retrieve pre-Windows logon phase data from Citrix so does not use OData and therefore does not need credentials