You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sample of making a simple webserver ...Sample of making a simple webserver in PowerShell. If you have more complex needs checkout Pode (https://github.com/Badgerati/Pode) as a fully fledged PowerShell web server.
1
FunctionNew-PSWebServer {
2
3
<#
4
.Synopsis
5
Creates a web server that will invoke PowerShell code based on routes being asked for by the client.