Awesome Sysadmin

September 23, 2024 · View on GitHub

Mega Collection of Scripts,one-liners,Techniques to Troubleshoot,Solve problems for system administators.

Managing Windows Servers with repository is very easy and also cool.save a lot of time and have fun working with windows environments.

awesome sysadmin logo created by microsoft ai

Table of Contents

  • Networking
  • Monitoring
  • Security
  • Hardware
  • Virtualization
  • Storage
  • Printers
  • Active Directory
  • Windows Installation Errors
  • Powershell
  • Resources
  • Mikrotik Networks

Networking

TitleDescriptionLink
DHCPhow to configure it in windows serverSee More
DNShow to configure it in windows serverSee More
ScriptsUsefull scripts for automation and ease of useSee More

Monitoring

TitleDescriptionLink
Shared FileSystemsList all Shared FileSystems in CMDSee More
users and groupsShow users and groups in CMDSee More
show servicesList all servicess in powershellSee More
Search filesearch faster by using CMDSee More
monitor CPU tempeturemonitor hardware by powershellSee More

Security

TitleDescriptionLink
Wevtutilretrieve information about event logs and publishersSee More
Event ViewerShow event in windowsSee More
Bypass windows Logineasilly bypass windows login inSee More
Calculate Hasheasily calculate hash of a given FileSee More
local Administrator checkjust a script to show your privilagesSee More
netplwizTo grant access to your computer to usersSee More
Windows Defenderhow to control it by using powershellSee More
Windwos FirewallConfiguring firewall settingsSee More
WinDefenderThis script can enable disable and show windows defender real time monitoring!See More

Hardware

TitleDescriptionLink
Hardwarecheck,control your hardware in linuxSee More
Biosto check bios with powershellSee More

Virtualization

TitleDescriptionLink
VirtualBoxone-liners to dominate virtualboxSee More
VirtualBoxHow to control virtual box by using bashSee More

Storage

TitleDescriptionLink
Disk scan in windowsscan for corrupted disksSee More
Unditected Hard Drives While bootinga rare event occure in some motherboardsSee More
How to organize Files in a DirectorySort directories magicallySee More
Getting information about disks in CMDShow detailed information of DisksSee More

Printers

TitleDescriptionLink
List All Printershow to do it both in cmd and powershellSee More
List All Printers JobsList all filesSee More
Cancel Printers Jobscancel all annoying jobs instantly!See More
Share Local Printershare a printer that connected to a computer without a LANSee More

Active Directory

TitleDescriptionLink
Active Directory one linersone-liners to manage ADSee More
Password policyrestart passwordSee More
Password policyforce to restart password at first loginSee More
Unlock User account**See More
Find account inactive for last 90 days**See More
Find all locked out account in active directory**See More
Check If Users password expired**See More
Find Users or Computer which are expired**See More

Windows Installation Errors

TitleDescriptionLink
install win11how to solve "This PC can’t run Windows 11"See More
install from usbError 0x80070570See More

Powershell

TitleDescriptionLink
All RUN Commandscomplete list of all Run command all in oneSee More
powershell commandslist of important commandSee More
bin-lister.ps1lists all content of recycle binSee More
chrome-installer.ps1install chrome with just a scriptSee More
firefox-installer.ps1install firefox with just a scriptSee More
clipboard.ps1show what clipboard hasSee More
Disk-checker.ps1list all disks and show it volumeSee More
list_installed_software.ps1list all installed softwaresSee More
network-restarter.ps1restart all network adaptorsSee More
network-share-lists.ps1shows all network share listsSee More
ping_tester.ps1test quality of network by pingSee More
port-tester.ps1test if ports are openSee More
swap_tester.ps1test swap partition of filesystemSee More
ballon Tipsshow ballon tipsSee More
close-taskmanager.ps1closes task managerSee More
list-tasks.ps1This PowerShell script lists all scheduled tasksSee More
notification.ps1shows a notificationSee More
popup.ps1shows a pupup in windowsSee More
remote-sessions.ps1shows all remote sessionsSee More
service-status1.ps1show all services statusesSee More

Resources

I have found some links that i think they are usefull if you want to learn more:

TitleDescriptionLink
fleschutza github repo full of cool powershell scriptsSee More
CMD cheatsheeta cool repository contains cmd commandSee More
powershell toolsa cool repository,contains awesome toolsSee More
Mikrotik HeroMikrotik Cheatsheets and checklist,CLI Commands ...See More

Author

mohammad Ezzatzadeh

License

This project is licensed under the Creative Commons Zero v1.0 Universal license. See the LICENSE file for details

Creative Commons Zero v1.0 Universal

Contributing

Contributions are welcome! If you have a cool trick or command that you would like to share, feel free to open a pull request.

Technologies Used

PowerShell