Skip to content

Active Directory Tools

  • Home
  • PowerShell Tutorials
  • Active Directory
  • CMD
  • About Us
  • Contact

PS

How to Set Environment Variable in PowerShell

by ADAdmin

PowerShell provides multiple ways to set an environment variable. Method 1: Using the $env Provider to Set Environment Variable This script sets an environment variable …

Read more

How to Replace Text with Wildcard in PowerShell

by ADAdmin

PowerShell supports the use of regular expressions, which enables you to perform text replacements with wildcard patterns. Method 1: Use the -replace operator to replace …

Read more

How to Replace Multiple Strings in File in PowerShell

by ADAdmin

PowerShell offers multiple ways to replace multiple strings in a file in PowerShell. Two common methods are using the -replace operator and Replace() method for …

Read more

How to Replace Double Quotes in String in PowerShell

by ADAdmin

You can use replace double quotes in a string in PowerShell using the -replace operator or the Replace() method. Method 1: Using the -replace Operator …

Read more

How to Replace Special Characters in String in PowerShell

by ADAdmin

PowerShell offers multiple methods to replace special characters in a string in PowerShell. Two common methods are using the -replace operator with regular expressions or …

Read more

How to Replace String in File in PowerShell

by ADAdmin

To replace a string in a file, you can use the Get-Content cmdlet to read the file content, followed by the -replace operator to perform …

Read more

How to Replace Text in String in PowerShell (5 Methods)

by ADAdmin

In PowerShell, there are several ways to replace text in string in PowerShell. Method 1: Using the Replace() method Method 2: Using the -replace operator …

Read more

How to Concatenate Strings in PowerShell (4 Methods)

by ADAdmin

PowerShell offers several ways to join multiple strings together. You can use the following methods to concatenate strings in PowerShell: Method 1: Using the + …

Read more

How to Compare Two Hashtables in PowerShell

by ADAdmin

PowerShell offers a few different ways to compare two hashtables. You can use the Compare-Object cmdlet in PowerShell or converting hash tables to JSON and …

Read more

How to Compare Version Numbers in PowerShell

by ADAdmin

In PowerShell, you can compare version numbers using the Compare-Object cmdlet or comparison operators. In this article, we will learn how to compare two version …

Read more

Older posts
Newer posts
← Previous Page1 … Page15 Page16 Page17 … Page21 Next →

Recent Posts

  • PowerShell Array of Arrays: A Complete Guide
  • How to List Installed Modules in PowerShell
  • How to Use the Find-Script Cmdlet in PowerShell
  • How to Use the Find-Command Cmdlet in Powershell
  • How to Install and Update PowerShellGet Module

Footer Bar

  • PS
  • Windows Commands
  • Privacy Policy
  • Terms of Condition
Copyright © 2025 ActiveDirectoryTools All rights reserved