WebServer

1.0.1

Powershell WebServer is a module that starts a webserver (without the need for IIS).
Powershell command execution, script execution, upload, download and other functions are implemented.
* Start-Webserver starts a webserver listening on port 80 with binding to localhost only
* Start-Webserver "http://+:8080/" "C:\Data" starts a webserver on port 8080 with binding t
Powershell WebServer is a module that starts a webserver (without the need for IIS).
Powershell command execution, script execution, upload, download and other functions are implemented.
* Start-Webserver starts a webserver listening on port 80 with binding to localhost only
* Start-Webserver "http://+:8080/" "C:\Data" starts a webserver on port 8080 with binding to all IP addresses with base dir C:\Data

You may have to configure a firewall exception to allow remote access to the chosen port, e.g. with
netsh advfirewall firewall add rule name="Powershell Webserver" dir=in action=allow protocol=TCP localport=8080
Show more

Minimum PowerShell version

4.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name WebServer -RequiredVersion 1.0.1

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name WebServer -Version 1.0.1

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Markus Scholtes 2021

Package Details

Author(s)

  • Markus Scholtes

Tags

Webserver HTTP Web HTML HttpListener

Functions

Start-Webserver

Dependencies

This module has no dependencies.

Release Notes

# 1.0.1 / 2021-02-12
- Updated links since Technet Gallery shut down

# 1.0.0 / 2020-06-04
- Initial release

FileList

Version History

Version Downloads Last updated
1.0.7 6,026 2/3/2024
1.0.6 994 3/27/2023
1.0.5 760 8/8/2022
1.0.4 261 4/21/2022
1.0.3 315 1/21/2022
1.0.2 623 7/4/2021
1.0.1 (current version) 206 2/12/2021
1.0.0 423 6/4/2020
Show less