PowerShell Functions [Create and Use Functions]

powershell function

PowerShell functions are essential building blocks that help simplify scripts and make code more reusable. These blocks of code perform specific tasks when called by name, saving time and reducing repetition in PowerShell scripts. Functions work like mini-programs within your larger script, accepting inputs, processing data, and returning results. In this tutorial, I will explain … read more…

How to Add Items to an Array in PowerShell (5 Simple Methods)

powershell add item to array

Recently, I was developing an automation script to manage a large inventory of servers, and I needed to add items to an array as the script ran dynamically. The challenge is that PowerShell handles arrays differently than many other programming languages. In this tutorial, I will show you five proven methods to add items to … read more…

TypeScript Switch with Enums [With Examples]

TypeScript Switch with Enums

Recently, I was working on a large TypeScript project that required handling different user roles in a clean and maintainable manner. The requirements included different UI elements and access permissions based on user roles – admin, editor, viewer, etc. That’s when I realized how powerful TypeScript’s switch statements combined with enums can be. In this … read more…

How To Convert String To Double In TypeScript

convert string to double in typescript

Recently, I was building a financial dashboard application where I needed to convert string inputs to double values for calculations. The challenge with TypeScript is that it doesn’t have a specific “double” type like some other languages. Instead, we use the number type, which can represent both integers and floating-point values. In this TypeScript tutorial, … read more…

PowerShell Test-Path: How to Verify File and Folder Existence

PowerShell Test-Path Example

The PowerShell Test-Path cmdlet is used for checking if a file or folder exists on your computer. It returns “true” if the path exists and “false” otherwise, so you can quickly confirm file locations before running commands or scripts. This saves time and helps avoid annoying errors when you’re dealing with files and directories. PowerShell … read more…

How To Get String After Character In TypeScript

Get string after character in Typescript

In this typescript tutorial, we will see how to get a string after a character in typescript using different methods. For example, the string is “fest-2025”, then the character is ‘-‘, and after that, the string is 2025. Here are the five methods to get a string after a character in TypeScript that we are going to … read more…

TypeScript Check If String Is Number – 6 Proven Methods

typescript check if string is number

When working with user input or data from external sources in TypeScript, I often need to verify if a string contains only numeric characters. This is a common requirement in form validation, data processing, and many other scenarios. In this article, I’ll share several reliable methods I’ve used over my years of TypeScript development to … read more…

PowerShell Write to File UTF-8: Complete Guide with Examples

PowerShell Write to File UTF-8

When working with PowerShell scripts, I often need to output data to text files. Over the years, I have learned that using the correct encoding, particularly UTF-8, is crucial for handling special characters and international text accurately. In this tutorial, I’ll show you multiple methods to write data to files using UTF-8 encoding in PowerShell. … read more…

How to Sort Arrays of Objects in TypeScript

typescript sort array of objects

Recently, I was working on a project where I needed to sort an array of customer objects by different properties like name, purchase date, and total spending. As a TypeScript developer, I’ve found that the built-in Array.sort() method is very useful, but it requires some TypeScript-specific knowledge to use correctly with complex object arrays. In … read more…

How to Write to a File in a PowerShell Loop (5 Efficient Methods)

powershell write to file in loop

When working with PowerShell automation, I often need to process data in loops and write the results to files. This is a common requirement when generating reports, logging application activities, or processing batches of data. Over my years of PowerShell experience, I’ve discovered several effective approaches to writing data to files within loops. In this … read more…

TypeScript keyof with Strings: Complete Guide with Examples

typescript keyof string

Recently, I was working on a TypeScript project where I needed to enforce type safety when accessing object properties. The challenge was to restrict access only to existing property keys of an object. That’s when I discovered the power of the keyof operator with string types. In this article, I’ll share my experience using TypeScript’s … read more…

How to Compare Dates in TypeScript

typescript compare dates

When I first started using TypeScript, comparing dates felt confusing. I assumed I could just use == or === like I do with numbers or strings—but that didn’t work as expected. In TypeScript (and JavaScript), dates are objects. So, if you compare two date objects directly, you’re actually comparing their references, not their values. To … read more…

Live Webinar

Build an IT Help Desk App using Power Apps and Power Automate

Join this free live session and learn how to build a fully functional IT Help Desk application using Power Apps and Power Automate—step by step.

📅 29th Apr 2026 – 10:00 AM EST | 7:30 PM IST

Download User registration canvas app

DOWNLOAD USER REGISTRATION POWER APPS CANVAS APP

Download a fully functional Power Apps Canvas App (with Power Automate): User Registration App

Power Platform Tutorial

FREE Power Platform Tutorial PDF

Download 135+ Pages FREE PDF on Microsoft Power Platform Tutorial. Learn Now…