Continuing in our "Boldly Going" series I wanted to touch on a minor issue I've had when working with certain Hyper-V features. One of those endearing features/qualities is found when you want to delete a VM. Try this out in your environment on an expendable VM. Open your Hyper-V console, select the VM and choose … Continue reading Hyper-V On-The-Go – Reclaiming Drive Space
The Issue Recently I was at a customer that had a very strange and specific requirement. They wanted to query All File Type Extensions with a count on all machines in the environment. This was an environment with 30 000+ machines and they wanted it to run quickly and once off. The Investigation System Center … Continue reading Powershell – "Search and Count All File Extensions on Multiple Machines using Powershell"
While Linux maintains a strict case-sensitivity that you grow used to dealing with over time, Windows users get a little complacent, and often expect things to "just work." I ran into a problem this week with an XML config file that I expected certain nodes to have string values that I could replace for various … Continue reading TIL PowerShell .replace != -replace
Introduction Welcome to part 4 in my Active Directory Cleanup Series. This part is concentrated on pulling a report of Windows Operating Systems that are obsolete/unsupported. Using this report you can review them and decide if they should be removed or upgraded. Script 1: Long 1 liner. The following script was posted on one of … Continue reading PowerShell: Active Directory Cleanup – Part 4 – Unsupported Windows Operating Systems
In this blog post series, we will cover some useful scripts and methods which will help you to organize and maintain your GPOs, and clean up the mess surrounded in your Group Policy environment.
Introduction Hello everyone. Part 3 in my AD Cleanup series is stale computer objects. Stale computer objects are computers that haven't logged into the domain for a specified number of days. This script includes a NumberOfDays parameter that either you specify when calling the script or it defaults to 120 days during script execution. The … Continue reading PowerShell: Active Directory Cleanup – Part 3 – Stale Computer Objects
Introduction Hello again, Scott Williamson back with the next installment in the series "PowerShell: Active Directory Cleanup". For this installment we going to take a look at a script that finds computers that have a space in their name. Per RFC 1123 DNS host names cannot contain white space (blank) in their names. This is … Continue reading PowerShell: Active Directory Cleanup – Part 2 – Spacey Computer Names