Category Archives: Powershell

Simple Powershell Template Text Generator

Recently, I came across the need to generate multiple kickstart files for some systems. The usual approach involves using Jinja2 and Python. However, since I won’t be using logical expressions within the template and so a simple replacement of text … Continue reading

Posted in Powershell | Leave a comment

Powershell Script for Day-to-Day Active Directory Operations

Hi fellow scripters, I’m pretty sure this handy script will help system admins to make a day-to-day AD operation super easy. You can quickly jump into the screenshots to get an overview idea. Note that Powershell module for AD is … Continue reading

Posted in Active Directory, Powershell | Leave a comment

Set Any Attribute of AD users by using PowerShell Script

Updated Post: In version 1.2 of this script, there is no limitation that prevents you from setting the SamAccountName. And since the SamAccountName now becomes a modifiable attribute, to identify the existing user, you need to use the Identity in … Continue reading

Posted in Active Directory, Powershell | Tagged , | Leave a comment

Network Connection Notify Tool is Released

It will check the connection continuously at specified intervals and notify users with voice or desktop notification if the connection change is detected. If you don’t know how to set the Tiebreaker or Interval, you can just use Check Type … Continue reading

Posted in Powershell, Scripting House's Apps | Leave a comment

Delete Empty Folders with Powershell Recursively

In this blog, I’d like to show you the little one-liner powershell code that will delete empty folders recursively.  Note: Even if there is a single file in the child nested folder, it will exclude the parent path from deletion.

Posted in Powershell | Leave a comment

Make a read-able windows DNS debug log file

Normally we turn on the DNS debugging to find out the source client IP addresses and the queried records. And, here is the script that will covert the DNS Debug Log file into a more flexible csv format, though you … Continue reading

Posted in DNS, Powershell | Leave a comment

Lockup Domain User in Specific Computer and Escalate Permissions

Sometimes, you will need to give some domain users (may be the desktop support) Network Configuration Operators role or even Local Administrator permissions on specific client machines so that they can fix something with the elevated permissions.  You can do … Continue reading

Posted in Active Directory, Powershell | Leave a comment

Find the Missing/Mismatch or Duplicate DNS Forward and Reverse Records

I recently need to check the DNS records for one of my customer’s DNS server. It’s more than 500+ records to verify that the ‘A’ and ‘PTR’ records are updated properly and which records are missing. Most of the online … Continue reading

Posted in DNS, Powershell | 1 Comment

Updated v2.1: Create Users in New AD Domain with Old Users’ Domain Info

It is the updated version [v2.1] of the script that will create users in nested OU. If you do not know how to use this script, you can see here.I made some update changes so users ‘Names’ do not need … Continue reading

Posted in Active Directory, Powershell | Leave a comment

Create Users in New AD Domain with Old Users’ Domain Info

It has been nearly 2 years that I wrote the script to create new AD users with the automatic nested OU creation. The original idea is to create the users from the csv file in which AD users properties are … Continue reading

Posted in Active Directory, Powershell | Leave a comment