I have improved the code to include options for modifying Wi-Fi networks, Ethernet networks, and display settings:
@echo off
title IT Administrator Toolkit
color 0A
cls
:MainMenu
echo.
echo ============================
echo IT ADMIN TOOLKIT
echo ============================
echo.
echo 1. System Information
echo 2. Network Information
echo 3. Task List
echo 4. Services
echo 5. Command-Based Utilities
echo 6. Disk Cleanup
echo 7. Device Manager
echo 8. Event Viewer
echo 9. Disk Management
echo 10. Registry Editor
echo 11. PowerShell Commands
echo 12. Change IP Address
echo 13. User Management
echo 14. Firewall Management
echo 15. Windows Defender Management
echo 16. Network and Display Settings
echo 17. Help
echo 18. Exit
echo.
set /p choice="Enter your choice [1-18] : "
if '%choice%'=='1' goto SYSTEM_INFO
if '%choice%'=='2' goto NETWORK_INFO
if '%choice%'=='3' goto TASK_LIST
if '%choice%'=='4' goto SERVICES
if '%choice%'=='5' goto CMD_UTILS
if '%choice%'=='6' goto DISK_CLEANUP
if '%choice%'=='7' goto DEVICE_MANAGER
if '%choice%'=='8' goto EVENT_VIEWER
if '%choice%'=='9' goto DISK_MANAGEMENT
if '%choice%'=='10' goto REGISTRY_EDITOR
if '%choice%'=='11' goto PS_COMMANDS
if '%choice%'=='12' goto CHANGE_IP
if '%choice%'=='13' goto USER_MANAGEMENT
if '%choice%'=='14' goto FIREWALL_MANAGEMENT
if '%choice%'=='15' goto DEFENDER_MANAGEMENT
if '%choice%'=='16' goto NETWORK_DISPLAY_SETTINGS
if '%choice%'=='17' goto HELP
if '%choice%'=='18' goto EXIT
goto MainMenu
:SYSTEM_INFO
systeminfo
echo.
pause
goto MainMenu
:NETWORK_INFO
ipconfig /all
echo.
pause
goto MainMenu
:TASK_LIST
tasklist
echo.
pause
goto MainMenu
:SERVICES
services.msc
goto MainMenu
:CMD_UTILS
echo.
echo Command-Based Utilities:
echo a. Command Prompt (CMD)
echo b. IP Configuration (IPCONFIG)
echo c. Network Connections (NETSTAT)
echo d. Network File Shares (NET SHARE)
set /p subchoice="Enter your choice [a-d] : "
if '%subchoice%'=='a' start cmd.exe
if '%subchoice%'=='b' start cmd.exe /k ipconfig
if '%subchoice%'=='c' start cmd.exe /k netstat
if '%subchoice%'=='d' start cmd.exe /k net share
goto MainMenu
:DISK_CLEANUP
cleanmgr
goto MainMenu
:DEVICE_MANAGER
set devmgr_show_nonpresent_devices=1
start devmgmt.msc
goto MainMenu
:EVENT_VIEWER
eventvwr.msc
goto MainMenu
:DISK_MANAGEMENT
diskmgmt.msc
goto MainMenu
:REGISTRY_EDITOR
regedit
goto MainMenu
:PS_COMMANDS
echo.
echo PowerShell Commands Submenu:
echo a. Launch PowerShell
echo b. PowerShell Network Info (GET-NETIPCONFIGURATION)
echo c. PowerShell Network File Shares (GET-SMBShare)
echo d. PowerShell Services (GET-SERVICE)
set /p subchoice="Enter your choice [a-d] : "
if '%subchoice%'=='a' start powershell
if '%subchoice%'=='b' start powershell.exe -Command "Get-NetIPConfiguration; Pause"
if '%subchoice%'=='c' start powershell.exe -Command "Get-SmbShare; Pause"
if '%subchoice%'=='d' start powershell.exe -Command "Get-Service; Pause"
goto MainMenu
:CHANGE_IP
echo.
echo Change IP Address Submenu:
echo Please enter your network interface's alias, IPv4 address, and subnet mask separated by space:
echo Example: "Wi-Fi 192.168.1.100 255.255.255.0"
echo.
set /p input="Enter your choice: "
for /f "tokens=1,2,3*" %%a in ("%input%") do set interface=%%a& set ip=%%b& set mask=%%c
netsh interface ipv4 set address name="%interface%" static %ip% %mask%
goto MainMenu
:USER_MANAGEMENT
echo.
echo User Management Submenu:
echo a. List Users
set /p subchoice="Enter your choice [a] : "
if '%subchoice%'=='a' net user
goto MainMenu
:FIREWALL_MANAGEMENT
echo.
echo Firewall Management Submenu:
echo a. Open Firewall Settings
set /p subchoice="Enter your choice [a] : "
if '%subchoice%'=='a' start wf.msc
goto MainMenu
:DEFENDER_MANAGEMENT
echo.
echo Windows Defender Management Submenu:
echo a. Open Windows Defender Settings
set /p subchoice="Enter your choice [a] : "
if '%subchoice%'=='a' start ms-settings:windowsdefender
goto MainMenu
:NETWORK_DISPLAY_SETTINGS
echo.
echo Network and Display Settings Submenu:
echo a. Wi-Fi Networks
echo b. Ethernet Networks
echo c. Display Settings
set /p subchoice="Enter your choice [a-c] : "
if '%subchoice%'=='a' start ms-settings:network-wifi
if '%subchoice%'=='b' start ms-settings:network-ethernet
if '%subchoice%'=='c' start ms-settings:display
goto MainMenu
:HELP
echo.
echo Help for IT Administrator Toolkit:
echo.
echo 1. System Information: Displays detailed configuration information about the computer and its operating system.
echo 2. Network Information: Displays IP configuration information for all network interfaces.
echo 3. Task List: Lists all currently running processes on the local machine.
echo 4. Services: Opens the Services management console to view and edit service statuses.
echo 5. Command-Based Utilities: Launches a submenu with various command-line utilities.
echo 6. Disk Cleanup: Opens the Disk Cleanup utility to free up disk space by removing temporary files, system files, and more.
echo 7. Device Manager: Opens the Device Manager management console to manage hardware devices and drivers.
echo 8. Event Viewer: Opens the Event Viewer management console to view and analyze event logs.
echo 9. Disk Management: Opens the Disk Management console to manage disks, partitions, and volumes.
echo 10. Registry Editor: Opens the registry editor to view and edit Windows system registry.
echo 11. PowerShell Commands: Launches a submenu with various PowerShell commands.
echo 12. Change IP Address: Launches a submenu to change the IP address of the host running the BAT file.
echo 13. User Management: Launches a submenu to manage user accounts.
echo 14. Firewall Management: Launches a submenu to manage firewall settings.
echo 15. Windows Defender Management: Launches a submenu for Windows Defender settings.
echo 16. Network and Display Settings: Launches a submenu to manage Wi-Fi networks, Ethernet networks, and display settings.
echo.
pause
goto MainMenu
:EXIT
exit
This updated version includes the following improvements:
- Added a new submenu for Network and Display Settings with options for Wi-Fi networks, Ethernet networks, and display settings.
These enhancements will provide more functionality by managing Wi-Fi and Ethernet networks and adjusting display settings to make the toolkit more comprehensive for IT administrators.