Blog

Windows Error When Joining Domain

Error Message: ---------------------------Computer Name/Domain Changes---------------------------Changing the Primary Domain DNS name of this computer to ""…

Microsoft SQL: Login failed for user ‘sa’. (.Net SqlClient Data Provider)

Error: ===================================Cannot connect to SQL-SERVER===================================Login failed for user 'sa'. (.Net SqlClient Data Provider) Resolution: 1.…

PowerShell: How to Disable Users Authenticated Control (UAC)

This has been tested on Windows Server 2008, 2016, and 2019. Nothing fancy, just copy/paste…

Kubernetes – Pausing Applications by Scaling Deployments or Stateful Sets

# Pause application kubectl scale deploy nextcloud --replicas=0 kubectl scale statefulsets nextcloud-db-postgresql --replicas=0 kubectl scale…

PowerShell: Perform Windows Discovery of Services, Connections, and Security Settings

# windowsDiscovery.ps1 function checkSpectreVulnerability($computer=$env:computername){ $command={ $patchedVersion="10.0.14393.2842" $actualVersion=(Get-Item C:\Windows\system32\mcupdate_genuineintel.dll | select VersionInfo).VersionInfo.ProductVersion $intelDllPatched=[version]$actualVersion -ge [version]$patchedVersion <#…

How To Install Google Earth on Linux Mint, Debian, or Ubuntu

# Install Google Earth cd /tmp wget https://dl.google.com/dl/earth/client/current/google-earth-pro-stable_current_amd64.deb sudo dpkg -i google-earth-pro-stable_current_amd64.deb # Run the…

PowerShell: Update CSV File Using Active Directory

# adAccountsCsvUpdate.ps1 $originalCsv='C:\Users\rambo\Desktop\kimconnectUsers.csv' $newCsv='C:\Users\rambo\Desktop\kimconnectUsers-processed.csv' $newEmailSuffix='@kimconnect.com' $newOu='OU=Test,DC=kimconnect,DC=com' function adAccountsCsvUpdate{ param( $originalCsv, $newCsv, $newEmailSuffix, $newOu ) function…

Installing IBM VPN Client

On a Linux Machine # Install VPN Client shellScript=https://support.arraynetworks.net/prx/001/http/supportportal.arraynetworks.net/downloads/pkg_9_4_0_385/MP_Linux_1.2.9/MotionPro_Linux_Ubuntu_x64_build-8.sh cd Desktop wget $shellScript sudo ./MotionPro_Linux_Ubuntu_x64_build-8.sh…

PowerShell: Dealing with Service Principle Names (SPNs)

Basic Commands: # Show SPNs$computername="$env:computername"Get-ADComputer -Identity $computername -Properties ServicePrincipalNames |Select-Object -ExpandProperty ServicePrincipalNames# Add one SPNSet-ADComputer…

Installing VMWare Tools on Linux Guest Virtual Machines

Installation Process # Installing VMWare Tools mkdir /mnt/cdrom mount /dev/cdrom /mnt/cdrom cp /mnt/cdrom/VMwareTools-*.tar.gz /tmp/ cd…

Resolving DNS Delegation Error: IP: [Missing glue A record]

Sample Output of DNS diagnostics: PS C:\Windows\system32> dcdiag /test:dns /s:TEST-DC01 Directory Server Diagnosis Performing initial…

How to Move C:\Users to Another Volume

Warning: this process will effectively re-route all file pointers from C:\Users\* to another volume. Windows…

PowerShell: Force Outlook to Compact On Exiting

Forcing Outlook to return free disk space to RDS nodes upon user exiting would be…

Kubernetes: How to Set Node Affinity

Kubernetes pods' Quality of Service (QoS) can be controlled by setting node affinity. Here are…

Linux Mint How To Remove Repository

Following is an exercise in removing erroneous repo config that would cause apt update to…

Resolving a Corrupted Data Store in ESXi

Scenario: A USB disk has been mounted as a data store and subsequently removed. This…

Synology Rsync Issue

Linux OS'es come with this very useful utility: rsync. Sync Synology is an app built…

How To Quickly Search a User in Active Directory by Matching Email

This one liner would do the trick: Get-ADUser -Filter {EmailAddress -eq '[email protected]'} PS C:\Windows\system32> Get-ADUser…

Optimizing Windows IIS Server

Most IIS instances are fine with default settings. However, it's often beneficial to configure some…