Blog

Overview of Microsoft Azure Networking

Private connections into Azure are either via ExpressRoute (comparable to AWS DirectConnect) or VPN. The…

Microsoft SQL Server Error 18456

In a properly managed environment, the security team usually tracks the server logs for any…

File Access Control

System Engineers must follow the security principle of authentication, authorization, and accounting (AAA) as the…

MS SQL: Admin_Report_Notification

/* Admin_Report_Notification */DECLARE @tab char(1) SET @tab = CHAR(9)EXEC msdb.dbo.sp_send_dbmail@profile_name = 'Report DBMail Profile',@recipients =…

MS SQL: Archive and Shrink Database

--Archive Database: with maximum allowed runtime and a set number of recordsdeclare @EndDate datetime, @Recs…

Cisco Fabric Switch – MDS Zoning Template

<# What this script does: 1. Checks to see if an Internet connection via PowerShell…

PowerShell: Microsoft SQL Administration

Script to Install Microsoft Clustering Service $proxy="http://proxy:8080"$exclusionList="localhost;*.kimconnect.com"function checkProxy{try{$connectionTest=iwr download.microsoft.com#$connectionSucceeds=Test-NetConnection -Computername download.microsoft.com -Port 443 -InformationLevel Quietif…

Resolving Active Directory Replication Issues

In Windows Active Directory 2008+ mode, Distributed File System Replication  (DFSR) succeeds the legacy File…

Overview of Veeam Backup and Restore

Prepare the Environment Permissions - Active Directory: create a service account as a member of…

PowerShell: Script to Obtain List of Sites and Associated Domain Controllers

Script: if (!(get-module -name "ActiveDirectory") ){Add-WindowsFeature RSAT-AD-PowerShell; import-module -name "ActiveDirectory" -DisableNameChecking | out-null }$sites=(Get-ADDomainController -filter…

PowerShell: Use Chocolatey to Install Apps on Windows (Similar to Apt-Get or Yum)

Quick installation paste: # Install Chocolateyif (!(Get-Command choco.exe -ErrorAction SilentlyContinue)) {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12Set-ExecutionPolicy Bypass -Scope…

Windows 10: Update Script

8/7/2020: there's an updated version of this script here. function updateWindows{# Set PowerShell Gallery as…

Remove Bloatware on a Windows 10 Default Installation

1. Run PowerShell as Administrator 2. Issue these commands to download the Windows10Debloater script: #…

PowerShell: vSphere 5.5 and TLS 1.2 Connection Issues

Intro: There was this situation when we experienced connection issues with "Connect-VIServer" commands from PowerShell…

HPE Smart Update Manager 8.4.0

Step 1: Download ISO onto a Centralized Network Share Step 2: Connect to Remote Server…

Linux: Remediate SSL Weak Cipher Suites

Description The remote host supports the use of SSL ciphers that offer weak encryption. Note:…

How to Install Virtualbox in Ubuntu

Simply run these two commands: sudo add-apt-repository multiverse && sudo apt-get update sudo apt -y…

Ubuntu 18.04: Network Configuration Utility

Prior to version 18.04, network configurations have been via these commands: sudo vim /etc/network/interfaces sudo…

Security Updates for Windows 10 / Windows Server 2016 / Windows Server 2019 (March 2019) (Spectre) (Meltdown) (Foreshadow)

Description The remote Windows host is missing a security update. It is, therefore, missing microcode…

PowerShell: Remediate Microsoft Windows Unquoted Service Path Enumeration

Description The remote Windows host has at least one service installed that uses an unquoted…