r/usefulscripts • u/spexdi • 7h ago
[POWERSHELL] Finally network sharing works in windows!
Got tired of years of file-sharing woes with Windows, always such a damn battle. Got so fed up I decided to try and work with Gemini to create a AIO solution that works locally and also has Tailscale compatibility.
It also installs a right-click option that will easily add or remove any folder you right-click on to the shared network folder list (EZ Network Share)
It also crates a desktop Icon that you can use to view + remove any shared network folders.
No known bugs, as I know both BATCH and POWERSHELL, but Gemini definitely accelerated the process.
Simple. Works. Finally.
https://github.com/spexdi/EZ-File-Sharing/releases/tag/1.0
EDIT: install.bat calls install.ps1, which configures and enables all the sharing services, which requires a reboot to apply. It also copies and registers the FolderShare files in a safe location to not break their function in the future. AI surprised me by creating the "desktop app" with custom icon, which is handy to view the current list of shared folders and remove as needed.