ÿþ<html> <head> <title>Get-ReplMonitor</title> </head> <body> <h1>Get-ReplMonitor</h1> <div>Gets a ReplicationMonitor.</div> <h2> Syntax </h2> <code>Get-ReplMonitor [-replServer] &lt;Object&gt; [&lt;CommonParameters&gt;]</code> <h2> Detailed Description </h2> <div> The Get-ReplMonitor function gets the ReplicationMonitor from the specified ReplServer. </div> <h2> Related Commands </h2> <div> * <a href='Get-ReplMonitor.htm'>Get-ReplMonitor</a><br/> * <a href='Get-ReplServer.htm'>Get-ReplServer</a><br/> * <a href='Get-ReplPublisherMonitor.htm'>Get-ReplPublisherMonitor</a><br/> * <a href='Get-ReplPublicationMonitor.htm'>Get-ReplPublicationMonitor</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>replServer&nbsp;</td> <td>ReplServer can be a string representing the server or a ServerConnection object returned from Get-ReplServer.&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 Get-ReplMonitor</div> <h2> Return Values </h2> <div>Microsoft.SqlServer.Replication.ReplicationMonitor Get-ReplMonitor returns Microsoft.SqlServer.Replication.ReplicationMonitor object</div> <h2> Notes </h2> <div>There is a basic hierarchy with replication monitoring ReplicationServer =&gt; PublisherMonitor =&gt; PublicationMonitor. In addition to returning higher level replication information, this function is used by Get-ReplPublisherMonitor and Get-ReplPublicationMonitor.</div> <h2> Examples </h2> <h3> EXAMPLE 1</h3> <pre>Get-ReplMonitor "Z002\sql2K8"</pre> <div>This command gets the ReplicationMonitor for SQL Server Z002\SQL2K8.</div> <h3> EXAMPLE 2</h3> <pre>Get-ReplMonitor $(Get-ReplServer "Z002\SQL2K8" sa Passw0rd).ConnectionContext</pre> <div>This command gets the ReplicationMonitor for SQL Server Z002\SQL2K8 using SQL authentication.</div> </body> </html>