ÿþ<html> <head> <title>Get-ReplEnumPublications</title> </head> <body> <h1>Get-ReplEnumPublications</h1> <div>Calls the EnumPublications method on a PublisherMonitor object.</div> <h2> Syntax </h2> <code>Get-ReplEnumPublications [-publisherMon] &lt;PublisherMonitor&gt; [&lt;CommonParameters&gt;]</code> <h2> Detailed Description </h2> <div> The Get-ReplEnumPublications function calls the EnumPublications method for the specified PublisherMonitor object. </div> <h2> Related Commands </h2> <div> * <a href='Get-ReplEnumPublications.htm'>Get-ReplEnumPublications</a><br/> * <a href='Get-ReplPublisherMonitor.htm'>Get-ReplPublisherMonitor</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>publisherMon&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.PublisherMonitor You can pipe PublisherMonitor objects to Get-ReplEnumPublications</div> <h2> Return Values </h2> <div>System.Data.DataRow Get-ReplEnumPublications returns an array of System.Data.DataRow objects</div> <h2> Examples </h2> <h3> EXAMPLE 1</h3> <pre>Get-ReplPublisherMonitor "Z002\sql2K8" | Get-ReplEnumPublications</pre> <div>This command calls the EnumPublications method for SQL Server Z002\SQL2K8.</div> </body> </html>