How to Convert Base64 String to Text in PowerShell?

Convert Base64 String to Text in PowerShell

Recently, someone in the PowerShell development team asked me to convert the Base64 string to text in Powershell. I explained how to do this using various methods. In this tutorial, I will show you how to convert Base64 string to text in PowerShell with examples. To convert a Base64 string to text in PowerShell, you … Read more

How to Convert String to Object in PowerShell?

Convert String to Object in PowerShell

Recently, a PowerShell developer asked me how to convert a string to an object in PowerShell. I explained different methods with examples. In this tutorial, I will show you how to convert string to object in PowerShell with complete examples. To convert a string to an object in PowerShell using the ConvertFrom-Csv cmdlet, you can … Read more

How to Replace Text in Strings Using PowerShell?

Replace Text in Strings Using PowerShell

This will be useful if you are working with strings in PowerShell automation. Here, I have explained, how to replace text in strings using PowerShell using different methods. To replace text in strings using PowerShell, you can use the Replace() method for simple, case-sensitive replacements or the -replace operator for more complex, case-insensitive, and regex-based … Read more

PowerShell Global Variables [With Examples]

powershell global variable

As a PowerShell expert, I often need to manage and manipulate variables across various scripts and functions. One powerful feature of PowerShell is the ability to create global variables. In this tutorial, I’ll explain everything about PowerShell global variables and how to use them and provide some practical examples. PowerShell global variables are variables that … Read more

PowerShell Local Variables [With Examples]

PowerShell Local Variables

If you are working on PowerShell scripting, you should know how to use local variables in PowerShell. In this tutorial, I will explain everything about PowerShell local variables with examples and complete code. PowerShell local variables are variables defined within a specific scope, such as a function or script block, and are only accessible within … Read more

How to Convert String to Date in PowerShell?

Convert String to Date in PowerShell

One of my team members recently searched for a solution to convert a string to a date in PowerShell. I suggested different methods. In this tutorial, I will show you how to convert a string to a date in PowerShell with examples. To convert a string to a date in PowerShell, you can use the [datetime] type … Read more

How to Convert String to Base64 in PowerShell?

Convert String to Base64 in PowerShell

Recently, my client asked us for a requirement to convert string to base64. We used PowerShell for this. In this tutorial, I will show you how to convert string to base64 in PowerShell using different methods with examples. To convert a string to Base64 in PowerShell, you can use the [System.Convert] class. First, convert the … Read more

How to Change a SharePoint Site URL Using PnP PowerShell?

Change SharePoint site URL using PnP PowerShell

One of my clients recently asked me to change the SharePoint site URL. In this tutorial, I will show you how to change a SharePoint site address or URL using PnP PowerShell. If you are new to PnP PowerShell and If you haven’t installed it yet, you can do so using the command. Change SharePoint … Read more

How to Get SharePoint Site ID using PnP PowerShell?

Get SharePoint Site ID Using PnP PowerShell

Recently, I was working with a PowerShell script that wanted to get the SharePoint site ID. I used PnP PowerShell for this. In this tutorial, I will show you how to get the SharePoint site ID using PnP PowerShell. Get SharePoint Site ID Using PnP PowerShell To get the SharePoint site ID using PnP PowerShell, … Read more

100 PowerShell cmdlets download free

100 POWERSHELL CMDLETS E-BOOK

FREE Download an eBook that contains 100 PowerShell cmdlets with complete script and examples.