Typically we can now use the Media Creation Tool to always have an up to date version of Windows 10 on a flash drive. Unfortunately the most up to date for the Media Creation Tool is a first half update (21H1) which only has 18 months of support. I always install the...
The main ones I need: docker ps docker ps –all docker rm <id> docker images docker exec -it <id> bash
edit /etc/systemd/resolved.conf and uncomment DNS. DNS=9.9.9.9 1.1.1.1 8.8.8.8
I have a unique situation where my ISP has me behind 2 NAT routers and applying to have a port forward always turns into a big problem. I have a need for some public facing services that I wish to host in my home lab. Originally I setup an OVH VPS using the OpenVPN...
To disable GUI on boot, run: sudo systemctl set-default multi-user.target To enable GUI again issue the command: sudo systemctl set-default graphical.target
I had a project where I took a picture from a security camera every 15 minutes in order to build a timelapse. The project lasted almost a year so I didn’t have a good way to set the day/night schedule as the seasons changed. I ended up taking pictures every 15...
youtube-dl -cio ‘S01E%(playlist_index)02d-%(title)s.%(ext)s’ ‘playlist.url’
$ahouis = @(“00-19-77″,”88-5b-dd”,”08-EA-44″,”D8-54-A2″,”C4-13-E2″,”40-18-b1″) #get domain admin creds $dacreds = $(Get-Credential -Message “Please enter domain admin credentials for pulling...
1..26 | % { Invoke-Command -ComputerName “LABNAME-C$($_)” -ScriptBlock { Get-WmiObject -Class Win32_volume -Filter “DriveLetter = “”$(Get-Volume | ? { $_.DriveType -eq “CD-ROM” } | select -ExpandProperty DriveLetter | select...
$mail = @(); $teachers = Get-ADUser -filter { mail -like “*@localdomain.com” } -Properties mail | ? { $_.Enabled -eq $True } | select mail | select -First 25 | % { $mail += $_.mail }; $mail -join “,” | clip $mail = @(); $teachers = Get-ADUser...