One thing a hacker might do to redirect email so that the Microsoft 365 email user doesn't see it is to create an inbox rule to hide, forward or delete messages. Especially from the IT Support provider Here is a power shell script to download and save the inbox rules...
IT Tips
Enable Bitlocker
System Drive # Enable on C: drive (edit to taste) Enable-BitLocker -MountPoint "C:" -EncryptionMethod XtsAes256 -UsedSpaceOnly -TPMProtector # Add a recovery password Add-BitLockerKeyProtector -MountPoint "C:" -RecoveryPasswordProtector Get-BitLockerVolume C: # View...
Get the OS Version from the Command Line
Correct Get-ComputerInfo outputs the correct OSName Get-ComputerInfo | Select-Object OSName,OSDisplayVersion OsName OSDisplayVersion ------ ---------------- Microsoft Windows 11 Enterprise 24H2 Using Format-List Get-ComputerInfo | fl OSName,OSDisplayVersion OsName :...
Send from an Alias – Shared Mailbox
Say you have your primary email [email protected] and an alias [email protected] If you want to send as [email protected] you need to "Configure Exchange Online to Send from Aliases" (see below) Caveats With a Shared mailbox sending from an alias only works in Outlook...
Getting the Site Switcher Button to Appear on the Unifi Network Console
The Site switcher button doesn't show up until you go to Settings => System => General Tab => Site Management and check the Multi-Site Mangement checkbox and Apply the changes (on devices that support multi-site) Multi-site is NOT supported on all Unifi Network...
Convert Unix Time to a Date Time Stamp
A MySQL database field with times similar to '1752463231.455827' How to query the time and show it as '2025-07-14 17:22:28.911723' -- set timezone SET time_zone='Australia/Melbourne'; USE mydb; SELECT created_on, from_unixtime(created_on) as event_melb_time FROM...
Find out if a package is hosted on Packagist
Search for a specific package on packagist from the composer command line Here are some options to narrow down the search for a package. If your composer.json has custom vcs repos composer show -a will list thos # show everything composer show -a # show everything...
Encrypting the Raspberry Pi WiFi Pass
By default raspi-config adds an unencrypted WiFi password to the wpa_supplicant.conf file. To remove it do the following: # get root sudo su - # change to the wpa_supplicant dir cd /etc/wpa_supplicant # append a hashed Wifi password block wpa_passphrase "YOURSSID"...
Getting RealVNC Server on Raspberry Pi to Listen Only on Localhost
Installed VNC using rasp-config => Interface options => VNC Wanted to avoid having port 5900 listening on the local subnet (0.0.0.0:5900) but only available if I SSH to the box and connect via SSH tunnel # create /etc/vnc/config.d/vncserver-x11 # contents localhost=1...
View a remote Raspberry Pi Screen locally
I have a Raspberry Pi that shows a clock on its screen. It is over an hours drive away How do I display a remote X screen locally on my computer? VPN to the remote site SSH to the Pi ssh -l username ip_of_pi -L 5973:localhost:5900 # in ~/.ssh/config Host p0 mahclock0...