Month: October 2021

How To Upgrade NextCloud 22.1.1 to 22.2.0 When Deployed with Kubernetes & Helm

Step 1: Navigate to nextcloud > html > edit version.php <?php $OC_Version = array(22,1,1,2); $OC_VersionString…

Kubernetes Ingress Error 502 Upon NextCloud Upgrades

Issue: Just the other day, I've attempted to run a 'helm upgrade…' command on my…

WordPress: How To Add Custom XML Sitemap to Yoast SEO

Step 1: Install Yoast SEO Step 2: Install Code Snippets Step 3: Add this Snippet…

Kubernetes: Cert-Manager x509 ECDSA verification failure

Symptoms Error from server (InternalError): error when creating "kimconnect-cert.yaml": Internal error occurred: failed calling webhook…

Kubernetes: Cert-Manager Certificate Request YAML Example

# Set variables certPrefix=kimconnect domainName=kimconnect.com domainName2=www.kimconnect.com serviceName=kimconnectblog-wordpress servicePort=8080 # Create a yaml file and create…

PowerShell: Obtain List of Hyper-V Hosts via Active Directory

# listHyperVHostsInForests.ps1 # Version: 0.03 function listHyperVHostsInForests{ # Ensure that AD management module is available…

T-SQL: How To Rename Database in Microsoft SQL Server

The T-SQL USE master; GO ALTER DATABASE TEST_MSCRM SET SINGLE_USER WITH ROLLBACK IMMEDIATE; GO ALTER…

Linux: How To Use Dig

Checking Name Server(s) kim@kim-linux:~$ dig @8.8.8.8 microsoft.com ; <<>> DiG 9.16.1-Ubuntu <<>> @8.8.8.8 microsoft.com ;…

How to Cramp For a Test

From my experience, the trick to memorizing 10,000+ questions and answers at the 90% accuracy…

Bash Shell: Rename Files – Prepend and Append

Pre-pending # Prepend any file that doesn't have the word "/thumbs_" in its full path…

PowerShell: Add User To Group in Active Directory

$userId='kimconnect' $groupName='Remote Desktop Users' function addUserToGroup($userId,$groupName){ $userExists=Get-ADGroupMember $groupName|?{$_.SamAccountName -eq $userId} if(!$userExists){ Add-ADGroupMember -Identity $groupName -Members…

Domain Name Records Overview: A-record, MX, DKIM, SPF, SRV

A RECORD (A-host): - What: address record (A-record) specifies the IP address(es) of a given…

Installing Simple NFS GUI (for Ubuntu / Mint / Debian)

Overview: Simple NFS GUI is a Linux application that automates the whole NFS share configuration…

Linux: Performing Speed Test via Command Line Interface (CLI)

Install Speed-Test (if not already installed): kimconnect@linux-client:~$ sudo apt install speedtest-cli Reading package lists... Done…

How To Improve WordPress Website Rendering Speed

These are the recommended plug-ins to enable caching, database cleaning, image compressing, and minify codes…

Bash: How To Join Array With Comma Delimiter

# The following function joins an array of numbers # Limitation: the delimiter is expected…

PowerShell: Reset Active Directory User Password

# User input variables $adminUsername='intranet\kim-a' $adminPassword='SOMECOMPLEXPASSWORD' $userId='kim' $newPassword='SOMECOMPLEXPASSWORD' $domainController='intranet.kimconnect.com' # Auto-gen Variables $encryptedPassword=ConvertTo-SecureString $adminPassword -AsPlainText…

PowerShell: Notify Each User Before Password Expires

# This script email users basing on their password expiration dates # User input variables…

PowerShell: Check Windows Scheduled Tasks To Correlate Object Creation Time of a Zip File

$file='c:\temp\backup.zip' $computername='SERVER008' $minutesVariance=15 checkScheduledTaskMatchingFile $file $computername $minutesVariance function checkScheduledTaskMatchingFile{ param( $file='c:\temp\PROD.zip', $computername=$env:computername, $minutesVariance=15 ) if($computername…

Puppet Client Server Lab Setup

Server # Setup client machine name sudo vim /etc/hosts ## Insert this line ## xx.xx.xx.xx…