Month: September 2019

PowerShell: Reset Failover Clustering Quorum

# Adding Prerequisite Microsoft ClusterFunction installFailoverClustersModule{if (!(get-module -Name "FailoverClusters") ){#Install-WindowsFeature Failover-Clustering | out-null;Install-WindowsFeature RSAT-Clustering-MGMT |…

PowerShell: Create Daily VSS Snapshot of Volumes on Local Windows Machine

<# Daily-VSS-Snapshot-Windows-Standalone-FileServer.ps1 Functions: 1. Dynamically detect all volumes on local machine 2. Take snapshots of…

Procedure to Recreate a Microsoft Clustered Role

1. Delete cluster role 2. Validate that the DNS entry has been purgeda. Check DNS…

PowerShell: Windows Servers Systems Inventory

Version 0.03 <# Systems-Inventory.ps1Version: 0.03 -- deprecated 12/24/2019Purpose: to generate a CSV spreadsheet with information…

How to Implement Local Administrator Password Solution (LAPS) on Windows

Overview LAPS or Local Administrator Password Management is a good solution for local administrator account…

Changing SMB Caching on Windows

# To turn OFF caching $rolesWithNoCaching="SHERVER01","SHERVER02" $rolesWithNoCaching | %{$shares=Get-SMBShare -scopename "$_"; foreach ($share in $shares){if(!($share.Name…

How to Expand a Windows NTFS Volume as a LUN of HPe Nimble Storage

1. Take volume off synchronous mode - Pre-emptively avoid this error: "Failed to update the…

Updating SSL Certificates on Active Directory Federation Services (ADFS) Server

Scripted Version Notes: Part 1: Adding Cert to ADFS Server # Import Cert and get…

PowerShell: List All IPs Used by Cluster

Snippet: # Obtain IPs of resources in clusterfunction getResourceIPs { $resourceIPs=Get-Cluster | Get-ClusterResource | ?{$_.ResourceType…

PowerShell: Setup Windows Scheduled Tasks

Outdated script. Use something else by searching this blog further. # scheduledTasksRemote_V0.0.2.ps1# Purpose: to add…