This WVD Script Based Action prepares the machine with the required PowerShell modules to run the WVD script based actions
Query the selected delivery controller via OData to retrieve connection failure details for a specific user, or all users, within a specified number of days ago
This Script Based Action allows you to retrieve all Session hosts in a specific Hostpool.
Retrieve event id 7470 instances from the security event logs to gives details of the user account, the time and location of the lock out. Can filter a specified number of days back and/or a specific user name
Run this SBA against one or more user sessions to lock that session. Taken from Stephen Owen’s blog, https://foxdeploy.com/2016/12/15/locking-your-workstation-with-powershell/
This script gets the user SID for the current username. If the same name exists in both the local computer and the domain, both SIDs will be returned.
This script will display all of the printers in a user session, and note the default printer.
When run against a user session, it will report the drive letter and UNC path of the user’s mapped drives.
The script will parse the records from the last X minutes (enter ‘0’ to get all records from the past year). For all records with matching SessionID, UserName and MachineName the Active Application, Active Application Title and Active URL (if the active application is a browser) are displayed.