I find I'm using PowerShell more and more often, but I still need to look up examples.
On these pages I have general notes and some of the scripts I've used in the past to refresh my memory.
PowerShell 101 (why you should bother)
Enable Remote PowerShell (good stuff if you manage a lot of machines)
Monitor Active Directory Servers (handy to know when your servers are behaving or not)
PowerShell and Twilio (calls and texts, basic stuff)
Manage Active Directory VPN IPs (sometimes you want to change a lot of assigned IPs in a hurry)
Discord Alerts for Active Directory Lockouts (I like to know before I get a call)
Machine Management (things that you might want to do on your local machine)
File Management (sometimes you need to add or remove files on multiple machines)
Office 365 (many things are better managed in 365 with PowerShell and a few that absolutely need it)
Other stuff:
https://stackoverflow.com/questions/38732025/upload-file-to-sftp-using-powershell
Find-Module "Posh-SSH" |install-module
https://4sysops.com/wiki/enable-powershell-remoting/
Use psexec to enable rdp
netsh interface ipv4 set address name="Wi-Fi" static 192.168.3.8 255.255.255.0 192.168.3.1
netsh interface ipv4 set dns name="Wi-Fi" static 8.8.8.8
netsh interface ipv4 set dns name="YOUR INTERFACE NAME" static DNS_SERVER index=2
uptime script: https://www.itprotoday.com/powershell/getting-computer-uptime-using-powershell
http://pleasework.robbievance.net/howto-force-really-wsus-clients-to-check-in-on-demand
Forcing WSUS checkin
Ping like a boss: https://www.reddit.com/r/PowerShell/comments/dvmrr4/script_to_ping_1000s_of_ips_under_5minutes/
$base="192.168.4.";$ip=@();1..254|%{$ip += $base+$_};$tasks=$ip|%{[System.Net.NetworkInformation.Ping]::new().SendPingAsync($_)};[Threading.Tasks.Task]::WaitAll($Tasks);$Tasks.Result
https://www.easy365manager.com/active-directory-and-office-365-attribute-naming-the-ultimate-guide/