ÿþ<html> <head> <title>Test-ISPath</title> </head> <body> <h1>Test-ISPath</h1> <div>Determines whether all elements of a path exist.</div> <h2> Syntax </h2> <code>Test-ISPath [-path] &lt;String&gt; [-serverName] &lt;String&gt; [-pathType] &lt;String&gt; [&lt;CommonParameters&gt;]</code> <h2> Detailed Description </h2> <div> The Test-ISPath function 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. </div> <h2> Related Commands </h2> <div> * <a href='Test-ISPath.htm'>Test-ISPath</a><br/> </div> <h2> Parameters </h2> <table border='1'> <tr> <th>Name</th> <th>Description</th> <th>Required?</th> <th>Pipeline Input</th> <th>Default Value</th> </tr> <tr valign='top'> <td>path&nbsp;</td> <td>&nbsp;</td> <td>true&nbsp;</td> <td>false&nbsp;</td> <td>&nbsp;</td> </tr> <tr valign='top'> <td>serverName&nbsp;</td> <td>&nbsp;</td> <td>true&nbsp;</td> <td>false&nbsp;</td> <td>&nbsp;</td> </tr> <tr valign='top'> <td>pathType&nbsp;</td> <td>&nbsp;</td> <td>true&nbsp;</td> <td>false&nbsp;</td> <td>&nbsp;</td> </tr> </table> <h2> Input Type </h2> <div>None You cannot pipe objects to Test-ISPath.</div> <h2> Return Values </h2> <div>Boolean Test-ISPath returns a Boolean representing whether the specified path exists.</div> <h2> Examples </h2> <h3> EXAMPLE 1</h3> <pre>Test-ISPath 'msdb\sqlpsx' Z002 'Folder'</pre> <div>This command tests whether the path msdb\sqlpsx exists on the SSIS server Z002.</div> </body> </html>