# just show the last 20 lines and exit Get-Content MyLogFile.log -Tail 20 # show last 20 lines and follow as content is appended to the log Get-Content MyLogFile.log -Tail 20 -Wait
IT Tips
Cannot delete a file / sym-link with a trailing dot on Windows Server 2019
Unable to delete folder due to "Could not find item. This is no longer located..." attrib -s -h -r "E:\dont migrate\*.*" /s /d Trying rmdir on a parent directory failed rmdir /s Temp Temp, Are you sure (Y/N)? y Temp\OICE_15_974FA576_32C1D314_1788\D93F4BC2. - The...
Attrib doesn’t remove system hidden or read-only attributes from files
Windows 2019 Server attrib wasn't removing the system, hidden and read-only attributes as expected. Make sure you are using an administrative prompt command prompt and then run the command as listed under "# working command" note the addition of "*.*" # failing...
How many Pings?
Q: How many Windows 11 pings are lost (request timed out) while a USW Enterprise 8 PoE switch is restarted? A: 32
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED
This can happen if you assign previously used IP Addresses to a new Virtual Machine which changes the host key To remove the warning and allow connection again use ssh-keygen with the -R switch: ssh-keygen.exe -R 20.213.210.243 You can manually edit ~/.ssh/known_hosts...
95.3
95.3 Rocket Extra Virgin Olive Oil Apple Cider Vinegar Baked pumpkin seeds Sunflower Seeds or Nutritional Yeast Avocado
Ubuntu 24.04 LTS as Firewall Router in Azure Notes
Latest version of these notes available here: https://github.com/toggenation/ubuntu-fw README.md Using Ubuntu in Azure as a Firewall, Router, VPN create vnet Dual IPv4 / IPv6 with multiple subnets (WAN, LAN, DEV etc) Add burstable with .5GB ram x 2 vms firewall: Add a...
Screen command for Console Cable on Netgate 2100
This is what I'm using from MacOS M1 with the Silicon Labs Driver Installed and it seems to work OK I'm using iTerm2 # As root # screen /dev/cu.usbserial-10 115200,-ixon # Use CTRL A then CTRL \ and enter y to exit the screen session Re the driver install downloaded...
Cross Platform USB Writer
https://etcher.balena.io Balena Etcher simple interface with great ease of use. Just tried this on Ubuntu 24.04.3 LTS and from memory it works well on Windows and Mac too.
Windows 11 esque OS based on Ubuntu
https://www.anduinos.com
