SYNOPSIS:Disable-InactiveUsers.ps1 Disable or warn inactive users that their accounts will be disabled. This script requires the AD comandlets and the ImportExcel module. DESCRIPTION: Disables Inactive users if the -Remediate switch is used. Writes user accounts that would be disabled to file if the -Remediate switch is not used. Creates a folder structure if doesn’t exist. […]
Category: Uncategorized
Install Hashicorp Vault OSS version with PowerShell
Find SQL Server MS Cluster Computer Objects In AD
In this post I’ll show a small PowerShell function to identify SQL Server MS Cluster computer objects in AD. The situation I have is that there is no consistent naming standard used when creating MS Clusters in one of my AD environments. Therefore, I needed some other way of filtering out these objects in scripts, […]
Visualizing ESXi Server Daily Average Utilization Using the ImportExcel Module
In this post I will document one method for producing a high-level frequency table visualization of average memory and CPU utilization values of a set of servers. This level of reporting is intended for discussions with management. The raw data has 12 months of data for 33 host machines. The data is in an Excel […]
Refactoring
Refactoring. What is it and how does it fit into the pragmatist approach to scripting?From Wikipedia:“In computer programming and software design, code refactoring is the process of restructuring existing computer code without changing its external behavior. Refactoring is intended to improve the design, structure, and/or implementation of the software (its non-functional attributes), while preserving its […]
Experiment with PowerShell and ServiceNow using ServiceNow free Developer Instance
Problem Statement: If the company you work for doesn’t use ServiceNow, or perhaps it does but you are unable to get the needed privilege’s to access it using the SNOW REST API. What to do? Solution: The ServiceNow Developer program. Through this program you are given full access to a ServiceNow instance at no cost. […]