Skip to content

Active Directory Tools

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

PS

How to Change Created Date of File in PowerShell

by ADAdmin

You can change the created date of a file in PowerShell by updating the CreationTime property of the file object. The following method shows how …

Read more

How to Get Date and Time with UFormat in PowerShell

by ADAdmin

You can use the Get-Date cmdlet in PowerShell with -UFormat to get the date in a Unix date format. The -UFormat parameter is used to …

Read more

Remove Null Values From PowerShell Array

by ADAdmin

To remove null values from an array in PowerShell, you can use the Where-Object cmdlet with a condition to check null values and filter out. …

Read more

How to Remove Empty Rows From Array in PowerShell

by ADAdmin

To remove empty rows from an array in PowerShell, you can use the Where-Object cmdlet with a condition to check empty or whitespace-only strings and …

Read more

How to Get Partition Size in GB Using PowerShell

by ADAdmin

To get partition size in GB using PowerShell, you can use the Get-Partition cmdlet. The Get-Partition cmdlet lists all partitions, we then use the Select-Object …

Read more

How to Convert Bytes to GB in PowerShell

by ADAdmin

You can convert bytes to GB in PowerShell by dividing the bytes by 1GB constant. The following method shows how you can do it with …

Read more

How to Split String into Variables in PowerShell

by ADAdmin

In PowerShell, you can split a string into variables using the Split() method or the -split operator, then assign the resulting array elements to the …

Read more

How to Remove Spaces from String in PowerShell

by ADAdmin

To remove spaces from a string in PowerShell, you can use the Replace() method or -replace operator. The following methods show how you can do …

Read more

How to Remove Blank Lines from CSV File in PowerShell

by ADAdmin

To remove blank lines from a CSV file using PowerShell, you can use the Import-CSV cmdlet to read the CSV file and then Where-Object cmdlet …

Read more

How to Remove Blank Lines From File in PowerShell

by ADAdmin

To remove blank lines from a text file in PowerShell, you can use the Get-Content cmdlet to get the file content and the Where-Object cmdlet …

Read more

Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 … 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