Skip to content

Active Directory Tools

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

ADAdmin

How to Get Hidden Files Using Get-ChildItem in PowerShell

by ADAdmin

To get hidden files using the Get-ChildItem cmdlet in PowerShell, you can use the -Force parameter or the -Hidden switch parameter. The following methods show …

Read more

How to Exclude Items Using Get-ChildItem in PowerShell

by ADAdmin

To exclude certain files or directories using the Get-ChildItem in PowerShell, you can use the -Exclude parameter. The following methods show how you can do …

Read more

How to Get File Size in MB Using Get-ChildItem in PowerShell

by ADAdmin

To get the file size in MB using the Get-ChildItem cmdlet in PowerShell, you can use the Measure-Object cmdlet, which calculates the sum of the …

Read more

How to Get Files Only Using Get-ChildItem in PowerShell

by ADAdmin

To get files only but not folders using the Get-ChildItem cmdlet, you can use the -File parameter. The following methods show how you can do …

Read more

How to Get Full Path of Files Using Get-ChildItem in PowerShell

by ADAdmin

To retrieve the full path of items (files or directories) using the Get-ChildItem in PowerShell, you can access the FullName property of each item which …

Read more

How to Get Folder Size in GB in PowerShell

by ADAdmin

To get the size of a folder in gigabytes (GB) using PowerShell, you can use the Get-ChildItem cmdlet to list the items in the folder, …

Read more

How to Use Get-ChildItem with Filter in PowerShell

by ADAdmin

The Get-ChildItem cmdlet, along with filtering parameters such as -Filter, -Include, and -Exclude provides a powerful way to search and retrieve specific files and folders …

Read more

How to Check if Variable is Null or Empty in PowerShell

by ADAdmin

In PowerShell, you can check if a variable is null or empty by using the -eq $null comparison for null values and the -eq “” …

Read more

How to Find Duplicate Values in Array in PowerShell

by ADAdmin

To find duplicate values in an array in PowerShell, you can use the Group-Object cmdlet and filter out the groups with a count greater than …

Read more

How to Get String Length in PowerShell

by ADAdmin

You can get the length of a string in PowerShell using the Length property of the Measure-Object cmdlet. The following methods show how you can …

Read more

Older posts
Newer posts
← Previous Page1 … Page9 Page10 Page11 … Page24 Next →

Recent Posts

  • How to Install RSAT on Windows 11
  • 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

Footer Bar

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