Skip to content

Active Directory Tools

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

ADAdmin

How to Convert Date to UTCTime in PowerShell

by ADAdmin

To convert a date to Coordinated Universal Time (UTC) in PowerShell, you can use the ToUniversalTime() method. The following method shows how you can do …

Read more

How to Convert String to DateTime in PowerShell

by ADAdmin

You can convert string to DateTime object in PowerShell using multiple ways. The following methods show how you can do it with syntax. Method 1: …

Read more

How to Format a DateTime in PowerShell

by ADAdmin

In PowerShell, you can format DateTime objects using various methods and format strings. The following methods show how you can format DateTime in PowerShell. Method …

Read more

How to Get Date Difference in PowerShell

by ADAdmin

To get the difference between two dates in PowerShell, you can subtract one date from another, and then use the TotalDays property of the TimeSpan …

Read more

How to Compare Dates in PowerShell

by ADAdmin

You can compare dates in PowerShell using multiple ways. The following methods show how to compare dates with syntax. Method 1: Compare dates using the …

Read more

How to Get Date Minus 1 Day in PowerShell

by ADAdmin

In PowerShell, you can get the date minus 1 day or the previous day using multiple ways. The following methods show how you can do …

Read more

How to Get Date Without Time In PowerShell

by ADAdmin

To get a date without Time in PowerShell, you can use the Get-Date cmdlet with the custom format string. There are multiple ways, you can …

Read more

How to Get Month Name in PowerShell

by ADAdmin

PowerShell offers multiple ways to get the month name (eg.. April). The following methods show how you can do it. Method 1: Get the month …

Read more

How to Handle Spaces in Path Using PowerShell

by ADAdmin

When dealing with file paths that contain spaces in PowerShell, it’s essential to ensure proper handling to avoid errors. There are various ways to handle …

Read more

How to Create a Folder with Date in Name Using PowerShell

by ADAdmin

To create a folder with a date in its name using PowerShell, you can use the Get-Date cmdlet to retrieve the date, format it appropriately, …

Read more

Older posts
Newer posts
← Previous Page1 … Page11 Page12 Page13 … Page24 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