ÿþ<html> <head> <title>Get-ReplArticle</title> </head> <body> <h1>Get-ReplArticle</h1> <div>Gets an Article.</div> <h2> Syntax </h2> <code>Get-ReplArticle [-pub] &lt;Object&gt; [&lt;CommonParameters&gt;]</code> <h2> Detailed Description </h2> <div> The Get-ReplArticle function gets the Articles from the specified Publication. Equivalent to executing sp_helpmergepublication or sp_helparticle. </div> <h2> Related Commands </h2> <div> * <a href='Get-ReplArticle.htm'>Get-ReplArticle </a><br/> * <a href='Get-ReplPublication.htm'>Get-ReplPublication</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>pub&nbsp;</td> <td>&nbsp;</td> <td>true&nbsp;</td> <td>true (ByValue)&nbsp;</td> <td>&nbsp;</td> </tr> </table> <h2> Input Type </h2> <div>Microsoft.SqlServer.Replication.Publication You can pipe Publication objects to Get-ReplArticle</div> <h2> Return Values </h2> <div>Microsoft.SqlServer.Replication.TransArticle or Microsoft.SqlServer.Replication.MergeArticle Depending on the publication type Get-ReplArticle returns either a Microsoft.SqlServer.Replication.TransArticle or Microsoft.SqlServer.Replication.MergeArticle object</div> <h2> Examples </h2> <h3> EXAMPLE 1</h3> <pre>Get-ReplPublication "Z002\sql2K8" | Get-ReplArticle</pre> <div>This command gets the Articles for all publications on SQL Server Z002\SQL2K8.</div> </body> </html>