Skip to content

Active Directory Tools

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

ADAdmin

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

How to Get Content and Remove First Line in PowerShell

by ADAdmin

To remove first line from a file using PowerShell, you can use the Get-Content and Set-Content cmdlets. The following method shows how you can do …

Read more

How to Convert String to Integer in PowerShell

by ADAdmin

In PowerShell, there are several ways to convert string to integer in PowerShell. The following methods show how you can do it with syntax. Method …

Read more

How to Get Content and Skip First Line in PowerShell

by ADAdmin

In PowerShell, there are several ways you can get content and skip the first N lines in PowerShell. The following methods show how you can …

Read more

How to Get First Line of File in PowerShell

by ADAdmin

To get the first line of a file using PowerShell, you can use the Get-Content cmdlet with the -First or -TotalCount parameter. The following method …

Read more

Older posts
Newer posts
← Previous Page1 … Page6 Page7 Page8 … 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