ÿþ<html> <head> <title>Set-ISPackage</title> </head> <body> <h1>Set-ISPackage</h1> <div>Writes or replaces the SSIS package with a new package.</div> <h2> Syntax </h2> <code>Set-ISPackage [-package] &lt;Object&gt; [-path] &lt;String&gt; [[-serverName] &lt;String&gt;] [[-force]] [&lt;CommonParameters&gt;]</code> <h2> Detailed Description </h2> <div> The Set-ISPackage function writes or replaces the SSIS package with a new package. Both SQL Server and File System storage are supported. </div> <h2> Related Commands </h2> <div> * <a href='Set-ISPackage Get-ISPackage.htm'>Set-ISPackage 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>package&nbsp;</td> <td>&nbsp;</td> <td>true&nbsp;</td> <td>false&nbsp;</td> <td>&nbsp;</td> </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> <tr valign='top'> <td>force&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 Set-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 'msdb\sqlpsx2' Z003</pre> <div>Set-ISPackage -package $package -path '\msdb' -serverName Z002 This command gets teh SSIS package sqlpsx2 from the SSIS server Z003 and saves the package to the SSIS server Z002.</div> </body> </html>