Contact Info

Crumbtrail

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

Test-Path - Powershell 2.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 exi
st and FALSE ($false) if any are missing. It can also tell whether the path syntax is valid and whether the path le
ads to a container or a terminal (leaf) element.