Blog

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…

Kubernetes Container Deployment with NFS Persistent Volumes

Introduction: Update: we have provided a practical application of the knowledge conveyed in this article…

PowerShell: Backup Microsoft Dynamics CRM Database

# backupCrmOrgDatabase.ps1 # This script is to be invoked in the context of the Administrator…

How to Mount NFS Share On Linux Client

# Install prerequisite sudo apt-get install nfs-common # Set variables nfsShare=test # assuming that the…

PowerShell: How to Quickly Ping a Target

Method 1: Legacy ping command # Legacy method that works without any fusses $pingResult=ping google.com…

Troubleshooting Active Directory Replication Issues

How to Check Domain Controller Syncronization Check replication summary [TEST-DC02]: PS C:\Users\testadmin\Documents> Repadmin /replsummary Replication…

How to Run OpenMediaVault with Pass-through Disks in VMWare ESXi

Assumptions: 1. The ESXi host in this lab is available with three (3) 1TB hard…

Linux: Check CPU Utilization

There are many utilities that would provide this information. The easiest one that is available…

PowerShell: Get Failed Scheduled Tasks on a Windows Machine

The following function will query the local Windows Tasks Scheduler for custom schedules and output…

How to Get Table Sizes of a Database in Microsoft SQL Server

Obtain Table Sizes of One or Multiple Names -- Get sizes of multiple tables use…

PowerShell: Mapping and Unmapping Network Drives

How to Map Network Drive using Dot Net Framework $driveLetter='T' $smbPath='\\FILESERVER\SHARENAME' $username='DOMAIN\USERNAME' $password='PASSWORD' $networkDrivesObject =…

How to Add a New Disk as LVM Volume to a Linux Machine without Rebooting

Step 1: Scan all SCSI host controllers sudo su # run as root scsiPath=/sys/class/scsi_host #…

R5 2400G Zen CPU Cores Undervolt and Overclocking

Some quick tested values: 3600 Mhz | 1.225 mV ~ 70 Watts (need to also…