ÿþ<html> <head> <title>Get-ISPackage</title> </head> <body> <h1>Get-ISPackage</h1> <div>Gets the SSIS package at the specified location.</div> <h2> Syntax </h2> <code>Get-ISPackage [-path] &lt;String&gt; [[-serverName] &lt;String&gt;] [&lt;CommonParameters&gt;]</code> <h2> Detailed Description </h2> <div> The Get-ISPackage function gets the SSIS package at the specified location. Both SQL Server and File System stored packages are supported. </div> <h2> Related Commands </h2> <div> * <a href='Get-ISPackage.htm'>Get-ISPackage</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>false&nbsp;</td> <td>false&nbsp;</td> <td>&nbsp;</td> </tr> </table> <h2> Input Type </h2> <div>None You cannot pipe objects to Get-ISPackage.</div> <h2> Return Values </h2> <div>Microsoft.SqlServer.Dts.Runtime.Package Get-ISPackage returns a Microsoft.SqlServer.Dts.Runtime.Package object.</div> <h2> Examples </h2> <h3> EXAMPLE 1</h3> <pre>$package = get-ispackage -path "C:\Program Files\Microsoft SQL Server\100\DTS\Packages\sqlpsx1.dtsx"</pre> <div>This command gets the package sqlpsx1.dtsx from the file systems and assigns it to the variable $package.</div> </body> </html>