Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Test-Path

Test-Path - Powershell 4.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Test-Path

Short description
Determines whether all elements of a path exist.

Syntax


Description
The Test-Path cmdlet determines whether all elements of the path exist. It returns TRUE ($true) if all elements exist 
and FALSE ($false) if any are missing. It can also tell whether the path syntax is valid and whether the path leads to 
a container or a terminal (leaf) element.