Install specific Python version on Windows WSL

In this post, I’ve outlined the steps for installing specific versions of Python on WSL in an easy-to-follow manner.

Continue reading
Posted in Python | Leave a comment

Esxi Kickstart file in the network location skipped during Scripted installation with CDROM

If the ks.cfg file is skipped although it’s placed in a correct network location for the semi-automated installation (booted from CDROM), you may need to check these steps in case you missed them.

Continue reading
Posted in VMware | Leave a comment

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 will suffice for this, so I decided to create my own in powershell.

Continue reading
Posted in Powershell | Leave a comment

Scan IP addresses through Esxi VMkernal Interfaces

Unlike the ESXi management interface, VMK interfaces used for vMotion can typically only be pinged within the same subnet, as they are not assigned a gateway IP address. Below is a shell script you can utilize directly on the ESXi host without the need for third-party IP ping tools.

Continue reading
Posted in Linux, Shell Scripts, VMware | Leave a comment

My notes on Notepad++ Regular Expressions

It’s my notes on some regular expressions in Notepad++. I will add more as I go through.

Continue reading
Posted in Tips and Tricks | 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 required for this script.

Things to note:

By running this script, all users/groups in the text file or all child users/groups under the defined OU will be affected. So, make sure you are completely aware of the explanation of parameters you want to do with the script. The suggestion is to test on your non-production systems first.

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 the csv header.

Eg: if you want to change the user who has the SamAccountName user01 to user001, then you need to put user01 under the Identity column and user001 under SamAccountName column in the csv file.

—————————————————————————————

Happy New Year to you all !!

Here, I’d like to share the script that I have been working on for a few days. With this script, you can set any AD attribute of users from a csv text file. There are 3 parameters that you need to specify.

-File Path : Path of the csv file which contains the AD user attributes. This parameter is mandatory.

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

How to Renew Root Certificate of Microsoft CA with a longer validity period

You might have defined the root certificate validity period of Microsoft internal CA as 5 years at initial installation, and what if you want to change the validity period to a longer duration like 10 or 20 years later ? For this, we will need to create a CaPolicy.inf file under windows installation directory (typically C:\Windows) and put some settings and start the renewal process.

Continue reading
Posted in Windows | Leave a comment

The Internet Explorer Registry Tweaks: How to set Page Margin, Fonts, Paper Sizes and Default Page

The Internet explorer is a bit outdated life-long browser for now. And in this post, I’d like to show some registry tweaks that you can make a bulk computers deployment of page size and font related settings. Below are the topics I cover in this blog.

  • Page Margin & Fonts
  • Custom Paper Sizes
  • Default Page Size

Continue reading

Posted in Windows | Leave a comment

Migrate eBlogger to WordPress : How to add a Java Script Redirect

I migrated my blog from eBlogger to WordPress (a new domain name with new hosting) on Aug, 2021 using the All-in-One WP Migration plugin. It’s a pretty easy process by following the guide and video shown in the plugin page. But, I have to do 2 things manually after migration:

  • Replace all the images on my blog by uploading to the site gallery because it’s still using the old path which is hosted in eBlogger, which is quite a tiresome task ;D
  • Add a java script code to my eBlogger, so the clients visiting the old site (whatever the URL they called) are redirected to new domain.

Continue reading

Posted in WordPress | Leave a comment