Powershell Tip #118: Test if path is a file or a folder using Test-Path cmdlet

By | September 10, 2016

Tip: You can test if a path is a file or a folder using Test-Path cmdlet:

test-if-path-is-file-or-directory


previous-buttonnext-button

2 thoughts on “Powershell Tip #118: Test if path is a file or a folder using Test-Path cmdlet

  1. Pingback: Powershell Tip #117: Remove whitespaces from a string | Powershell Guru

  2. Pingback: Powershell Tip #119: Increase the number of lines sent to pipeline with Get-Content | Powershell Guru

Leave a Reply

Your email address will not be published. Required fields are marked *