PowerShell Protect
Examples integrating with PowerShell Protect.
Display Log Messages in PowerShell Universal
This example configures PowerShell Protect to send log messages to a PowerShell Universal instance. It sends HTTP POST requests to the configured server.
PowerShell Protect Configuration
This configuration checks to see if the user has included the string \\corp\human-resources
anywhere in their script. If they do, it sends an HTTP POST to the URL http://localhost:8080/protect
The body of the HTTP request will contain the computer name and user name separated by a comma.
PowerShell Universal Configuration
This PSU configuration defines an endpoint to accept the POST data from PowerShell Protect. It then saves the data to a file. It also defines a dashboard that will read the data and display it in a table. This assumes that you have installed the PowerShell Universal module and server.
Last updated