Easily manage and map network shares using this PowerShell script with support for both CLI and GUI interfaces. Share Manager is designed for end users who frequently access shared folders on a NAS or file server, providing a simple interface with persistent settings.
- Configure and store NAS/share settings including hostname, path, drive letter, and credentials.
- Toggle between CLI and GUI mode with persistent startup preference.
- Securely save credentials and avoid repeated authentication prompts.
- Map or unmap the configured share with one click or command.
- Test connectivity to the NAS/share before attempting to map.
- Review and modify preferences at any time.
- Log file for troubleshooting and activity tracking.
- Setup wizard for first-time use.
- No administrator permissions required.
- Option for persistent mapping (reconnect at logon).
- Status indicator in GUI mode to check if the share is mounted.
- Windows OS with PowerShell 5.1 or higher.
- A reachable NAS or network share location.
- Script execution policy must allow running scripts:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Bypass
-
Download the Script
- Visit the releases tab on the GitHub repository.
- Download the latest version of the
Share_Manager.ps1
file.
-
Run the Script
- Locate the downloaded file on your computer.
- Right-click the file and select Run with PowerShell.
-
Follow the Prompts
- The script will provide a menu to guide you through mapping your share, saving preferences, or switching modes.
-
Create a Shortcut
- Right-click on your Desktop > New > Shortcut.
- Enter the following as the location:
(be sure to replace YourFolder with your path)
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -STA -File "C:\YourFolder\Share_Manager.ps1"
-
Customize the Shortcut (Optional)
- Name it something like
Share Manager
. - Set a custom icon if desired.
- Name it something like
-
Run the Shortcut
- Double-click the shortcut to launch the script in your preferred mode (CLI or GUI).
- Settings are stored in the
%USERPROFILE%\AppData\Roaming\Share_Manager\config.json
file. - Log output is stored in
%USERPROFILE%\AppData\Roaming\Share_Manager\Share_Manager.log
. - Use the Preferences menu to update paths, or behavior at any time.
This project is licensed under the MIT License. See the LICENSE
file for details.
Developed by Dantdmnl.