(Admin privileges are required.)
Basic Usage:
.\server.ps1 [-Port ] [-Path ]
Options:
-Port Specify the port to listen on (default: 4000)
-Path Specify the directory to serve (default: current directory)
-Help Show this help message
Examples:
.\server.ps1
.\server.ps1 -Port 8080 -Path "C:\Shared"
.\server.ps1 -Help
Features:
- Directory browsing with navigation links
- File downloads with proper MIME types
- Automatic firewall rule management