Month: February 2021

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…

Skillset Required as a 2021 Systems Administrator

Long were the days of a SysAdmin only requiring to know how to babysit server…

Linux Bash Shell Command to Download and Install an App

# Set file path variable vagrantFile=https://releases.hashicorp.com/vagrant/2.2.14/vagrant_2.2.14_x86_64.deb # Download and install a Debian based file fileName="${vagrantFile##*/}"…

How To Install Rancher Onto a Kubernetes Cluster

Step 1: Add Rancher Repo into Helm Source: https:// rancher.com/docs/rancher/v2.x/en/installation/install-rancher-on-k8s/ # Add Rancher repo helm…

PowerShell: How To Invoke Rest Method with RingCentral Rest API

[string]$restApiTokenUrl="https://platform.ringcentral.com/restapi/oauth/token" [string]$restApiUrl="https://platform.ringcentral.com/restapi/v1.0/account/~/extension?page=1" [string]$username='15555555555' [string]$password='PASSWORDHERE' [string]$extension='100' [string]$appKey='APPKEYHERE' # Part 1: Obtain Rest-API Token / Authorization function…

PowerShell: How To Set IP and Domain Restrictions to Specific IIS Sites

# Enable IP Filtering Feature in IIS using PowerShell Install-WindowsFeature Web-IP-Security Restart-Service W3SVC # Optional:…

How to Deploy PiHole in a Kubernetes Cluster

Step 0: Create NFS Share Ensure that the NFS share has been created with these…

Hyper-V Servers Report

# hyperVServersReport.ps1 # Version: 0.0.1 # Description: # This script will scan for Hyper-V Hosts…