How to Install Winget on Windows 10 and 11

Winget is available on Windows 10 version 1809 (October 2018 Update) or later. It’s included by default in Windows 10 May 2020 Update (version 2004) and later versions. Upgrading to a supported version is necessary if you have an older Windows 10.

Sometimes, if the winget installation is corrupted due to some reason, you can the latest winget package from the github for installation. Here is how:

Continue reading “How to Install Winget on Windows 10 and 11”

Workaround to connect the server with RDP Licenses not available Error

You might sometimes see the error like this when trying to connect to Remote Desktop Session Host server

The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license.

Continue reading “Workaround to connect the server with RDP Licenses not available Error”

Efficient Bulk Text Conversion with PowerShell

Are you dealing with text data that you need to convert different characters or words or symbols in bulk? In this blog post, I’ll introduce a powershell script that streamlines the conversion process, making it easy to work with text data across different languages and character sets.

Continue reading “Efficient Bulk Text Conversion with PowerShell”

Resolving winget not recognized error when running with the System Account

Although winget exists on your system, but when you try to run the winget with system account (or using the scheduled task with the system account) and you see this error.

winget : The term ‘winget’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Continue reading “Resolving winget not recognized error when running with the System Account”

Most Common WSUS Errors Codes

If you encounter Windows update error codes, you can check the System log in the Event Viewer, typically under the event source “WindowsUpdateClient” (though it doesn’t provide much info as always 😂). Another place to look is in the “C:\Windows\Logs\WindowsUpdate.log” file for Server 2012R2 / Windows 8.1 and below. For the later Windows version, you will need to use Event Tracing for Windows (ETW) to generate diagnostic logs.

Continue reading “Most Common WSUS Errors Codes”

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 “Esxi Kickstart file in the network location skipped during Scripted installation with CDROM”

Simple Powershell Template Text Generator

Recently, I came across the need to generate multiple kickstart files. 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 “Simple Powershell Template Text Generator”

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 “Scan IP addresses through Esxi VMkernal Interfaces”