-
Access Power and Battery Status with PowerShell
Access Power and Battery Status with PowerShell. Unfortunately this only applies to WindowsTested on Windows 10Detect power status with PowerShell BatteryChargeStatus, BatteryFullLifetime, BatteryLifePercent, and BatteryLifeRemaining Code Plugged In Unplugged Related Links Code Plugged In PowerLineStatus : Online BatteryChargeStatus : High BatteryFullLifetime : -1 BatteryLifePercent : 1 BatteryLifeRemaining : -1 Unplugged PowerLineStatus : Offline BatteryChargeStatus :…
-
PowerShell Essentials
PowerShell Essentials Related Links Related Rounding Numbers in PowerShell AWS Tools for PowerShell Powershell Split Text into Individual Lines PowerShell Accepting Pipeline Input Install PowerShell Core on Raspberry Pi OS Moving AD Computer Object with Powershell Install RSAT on Windows Enable Telnet Client on Windows 10 Hashing in Windows Changing Windows Network Profile How to…
-
AWS CloudWatch Essentials
AWS CloudWatch Essentials CloudWatch can be used to monitor your AWS and OnPrem resources and applications in real time. Events Logs Metrics Related Links Events Logs SetUp CloudWatch Monitoring for an Apache Web Server Errors Metrics Custom Metrics Related SetUp CloudWatch Monitoring for an Apache Web Server Errors AWS Essentials AWS CloudFormation Essentials AWS CLI…
-
MySQL Essentials
MySQL Essentials Login Console Remote Login Databases Restore-DB Tables Related Links Login Console Remote Login Requires the mysql client (install mysql -y) & TCP 3306 to be open Databases Restore DB Tables Related AWS Essentials Nano Essentials Hostapd Essentials IP Tables Essentials dnsmasq Essentials YAML Essentials chmod Essentials Home Assistant Essentials GIT Essentials Linux IP…
-
Ansible Interactive Input Prompts
Ansible Interactive Input Prompts Related Links vars_prompt vars_prompt Related Ansible Vault Basics Configure Windows to be Managed via Ansible /etc/ssh/sshd_config Essentials Specify an SSH key for git push for a given Domain How to Enable SSH on Ubuntu Working With SSH Keys SSH Tunneling Essentials IP Tables Essentials Create Basic Self Hosted Remote Git Repo…
-
How to check if Ubuntu has booted in UEFI or BIOS?
How to check if Ubuntu has booted in UEFI or BIOS? Related Links Related How to Auto Start Applications in Ubuntu How to Enable SSH on Ubuntu VNC Access to Raspberry Pi from Ubuntu Make Ubuntu Trust You CA Certificate Authority ~/.ssh/config Essentials Links
-
Powershell Split Text into Individual Lines
Powershell Split Text into Individual Lines Inline External File Related Links Inline External File Related PowerShell Accepting Pipeline Input Install PowerShell Core on Raspberry Pi OS Moving AD Computer Object with Powershell Rounding Numbers in PowerShell Extend Volume in Windows Install RSAT on Windows Enable Telnet Client on Windows Hashing in Windows Links https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_regular_expressions?view=powershell-7.1
-
Setup Encrypted Disk on Raspberry Pi
Setup Encrypted Disk on Raspberry Pi Related Links Identify Disk Clear Disk (Optional) Install CryptSetup Format Device for LUKS /dev/xxx Open Encrypted Volume /mapper/xxx Format Volume with Filesystem Mount Volume Label Disk Testing Identify Disk Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors Disk model: M3 Portable Units: sectors of 1 * 512 = 512…
-
How to Find Text Within Files
How to Find Text Within Files Grep ripgrep Related Links Grep Search through files for a certain string. This will even search inside binary files. ripgrep recursively searches current directory for ‘port:’ripgrep for more info Related Find Command in Linux Grep Essentials ripgrep Essentials Links
-
Extend Volume in Windows
Extend Volume in Windows. Two methods will be covered here. PowerShell and DiskPart PowerShell DiskPart Related Links PowerShell In this example a C:\ partition will be extended by 1 GB on a 100 GB disk . System Reserved 549 MB C: 99.46 GB The Resize-Partition cmdlet will be used. It requires Size argument that is…
-
Port Forwarding Ubiquiti EdgeRouter X
Port Forwarding Ubiquiti EdgeRouter X Related Links Firewall/NAT > Port forwarding rules Related Edge Router X – 1 WAN 1 IoT LAN & 3 Protected LANs Setup VLANs on Ubiquiti EdgeRouterX EdgeMax CLI Basics Populate Static MAC to IP Binding on Edge Router X via Command Line IP Tables Essentials dnsmasq Essentials Linux IP Essentials…
-
~/.ssh/config Essentials
~/.ssh/config Essentials Edit Samples Related Links Edit Samples Related Specify an SSH key for git push for a given Domain /etc/ssh/sshd_config Essentials How to Enable SSH on Ubuntu Working With SSH Keys SSH Tunneling Essentials IP Tables Essentials Set Static IP Address on Raspberry Pi OS Create a Password Hash Hashing in Windows Create Basic…
-
How to Auto Start Applications in Ubuntu
How to Auto Start Applications in Ubuntu Prerequisites Install Startup Order Adding Delay Related Links Prerequisites gnome-session-properties Install Reading package lists… Done Building dependency tree Reading state information… Done gnome-startup-applications is already the newest version (3.36.0-2ubuntu1). 0 to upgrade, 0 to newly install, 0 to remove and 45 not to upgrade. Configure Fill outName: MumbleCommand:…