Blog

Azure: TrafficManager

Requirement Create a Traffic Manager profile for KimConnect using the Azure portal. Overview ---------------------------------"Setup Phase"1.…

PowerShell: Hyper-V Guest-VM C-Volume Expansion

# Hyper-V-Guest-VM-Volume-Expansion.ps1 # Set variables: $vmName="TESTWindows.intranet.kimconnect.net"; $driveLetter="C"; $newSize="160GB"; function selectDisk($vmname){ $paths=(get-vm $vmName | select -expand…

PowerShell: Windows Systems Inventory

<# Systems-Inventory.ps1 Version: 0.04 Purpose: to generate a report with information about servers on the…

PowerShell: Windows System Discovery – Deprecated

<# windows-localhost-discovery-v0.11.ps1 Purpose: scan the local or remote Windows machine for general system resources, security…

PowerShell: Creating Clustered File Shares

# Define Destination Mount Points and UNC Paths $arr=@{} $arr["from"] = @{}; $arr["to"] = @{}…

PowerShell: SMB Shares Migration

$object='\\fileserver\sharename' $identity='domain\account' $permissions='Full' function importNtfsSecurity{ try{ set-executionpolicy unrestricted -force # Include the required NTFSSecurity library…

Linux: Disks & Memory Management

Step 1: Discovery of Disks on a System # Using List hardware to gather general…

Storage: Cohesity(tm) Basics

The intention of this posting is to critique a product known as Cohesity, a trademark…

Linux: Installing Portainer

Step 1: install Dockerhttps://blog.kimconnect.com/linux-installing-docker-community-edition-on-centos-8/ Step 2: install networkThere are two modes: bridge or 802.1q trunk…

Linux: Installing Docker Community Edition on Centos 8

# Switch into Sudo mode sudo su # Disable the built-in firewall as it will…

PowerShell: Purge OneDrive

# purgeOneDrive_v0.0.1.ps1function purgeOneDrive{ write-host "Halting OneDrive and explorer processes..." taskkill.exe /F /IM "OneDrive.exe" taskkill.exe /F…

PowerShell: Creating Scheduled Tasks on Remote Servers

This script is deprecated. Here is a better iteration. # scheduledTasksRemote_V0.0.2.ps1# Purpose: to add a…

PowerShell: Creating VSS Snapshots on Microsoft File Server Clusters

<# VSS-Snapshots-on-Microsoft-File-Server-Clusters_v0.0.1.ps1 # Author: KimConnect.com Functions: 1. Create snapshots of all volumes on a file…

PowerShell: Create New Hybrid On Prem Active Directory User with Office 365 Integration

# createNewHybridUser_v0.0.1.ps1# .Description: this script automates the creation of a user account in a hybrid…

PowerShell: Checking Computer Type

# Determine what type of Windows machine (client or server)switch ((Get-CimInstance -ClassName Win32_OperatingSystem).ProductType){1 {'client'} #…

WGET Error on Windows and Its Quick Resolution

Error:PS C:\temp> Invoke-WebRequest -Uri $fileInvoke-WebRequest : The response content cannot be parsed because the Internet…

PowerShell: Adding Active Directory Module

Windows environments often are controlled by Active Directory; hence, it is useful to include this…

PowerShell: Obtain Domain Admin Credential

function obtainDomainAdminCredentials{ # Legacy domain binding function function isValidCred($u,$p){ # Get current domain using logged-on…

VSS Error: Snapshots were found, but they were outside of your allowed context

Error: PS C:\Windows\system32> vssadmin delete shadows /for=c: /allvssadmin 1.1 - Volume Shadow Copy Service administrative…

PowerShell: Automating Microsoft Failover Cluster Maintenance – FileServer, SQL AlwaysOn, Hyper-V Guest VMs, Disks Operations

##################################################################################################### # MsClusterMaintenance_v0.0.2.ps1 # Author: KimConnect.com # License: GPLv3 # Description: this program automates the…