Thor Logo dbatools

Endpoint

Copy-DbaEndpoint

Chrissy LeMaire (@cl), netnerds.net

Copy-DbaEndpoint View Source Chrissy LeMaire (@cl), netnerds.net Windows, Linux, macOS On this page: Synopsis · Description · Syntax · Examples · Parameters · Outputs Synopsis Copies SQL Server endpoints from source instance to destination instances for migration scenarios. Description Migrates user-defined endpoints (excluding system endpoints) from a source SQL Server to one or more destination servers. This includes Service Broker, Database Mirroring, and Availability Group endpoints that are essential for high availability configurations.

Read more

Get-DbaEndpoint

Garry Bargsley (@gbargsley), blog.garrybargsley.com

Get-DbaEndpoint View Source Garry Bargsley (@gbargsley), blog.garrybargsley.com Windows, Linux, macOS On this page: Synopsis · Description · Syntax · Examples · Parameters · Outputs Synopsis Retrieves SQL Server endpoints with network connectivity details for troubleshooting and documentation. Description Retrieves all SQL Server endpoints including DatabaseMirroring, ServiceBroker, Soap, and TSql types with their network configuration details. This function provides essential information for troubleshooting connectivity issues, documenting high availability setups, and performing security audits.

Read more

New-DbaEndpoint

Chrissy LeMaire (@cl), netnerds.net

New-DbaEndpoint View Source Chrissy LeMaire (@cl), netnerds.net Windows, Linux, macOS On this page: Synopsis · Description · Syntax · Examples · Parameters · Outputs Synopsis Creates SQL Server endpoints for database mirroring, Service Broker, SOAP, or T-SQL communication. Description Creates SQL Server endpoints that enable communication between instances for high availability features like availability groups and database mirroring. Database mirroring endpoints are the most common type, required for setting up availability groups and database mirroring partnerships.

Read more

Remove-DbaEndpoint

Chrissy LeMaire (@cl), netnerds.net

Remove-DbaEndpoint View Source Chrissy LeMaire (@cl), netnerds.net Windows, Linux, macOS On this page: Synopsis · Description · Syntax · Examples · Parameters · Outputs Synopsis Removes SQL Server endpoints including DatabaseMirroring, ServiceBroker, Soap, and TSql types. Description Removes SQL Server endpoints by executing DROP ENDPOINT commands against the target instance. This function handles DatabaseMirroring, ServiceBroker, Soap, and TSql endpoint types, making it useful for decommissioning unused services, cleaning up after failed deployments, or hardening SQL Server instances by removing unnecessary network entry points.

Read more

Set-DbaEndpoint

Chrissy LeMaire (@cl), netnerds.net

Set-DbaEndpoint View Source Chrissy LeMaire (@cl), netnerds.net Windows, Linux, macOS On this page: Synopsis · Description · Syntax · Examples · Parameters · Outputs Synopsis Modifies SQL Server endpoint properties including owner and protocol type. Description Modifies properties of existing SQL Server endpoints such as changing the owner for security compliance or switching the endpoint type between DatabaseMirroring, ServiceBroker, Soap, and TSql protocols. This is commonly used when transferring endpoint ownership during security audits, changing communication protocols for availability group configurations, or updating Service Broker endpoints for application messaging.

Read more

Start-DbaEndpoint

Chrissy LeMaire (@cl), netnerds.net

Start-DbaEndpoint View Source Chrissy LeMaire (@cl), netnerds.net Windows, Linux, macOS On this page: Synopsis · Description · Syntax · Examples · Parameters · Outputs Synopsis Starts stopped SQL Server endpoints for Database Mirroring, Service Broker, and other network services. Description Starts stopped SQL Server endpoints that are required for Database Mirroring, Service Broker, SOAP, and custom TCP connections. Endpoints must be in a started state to accept network connections and facilitate features like Availability Groups, database mirroring partnerships, and Service Broker message routing.

Read more

Stop-DbaEndpoint

Chrissy LeMaire (@cl), netnerds.net

Stop-DbaEndpoint View Source Chrissy LeMaire (@cl), netnerds.net Windows, Linux, macOS On this page: Synopsis · Description · Syntax · Examples · Parameters · Outputs Synopsis Stops SQL Server communication endpoints like Service Broker, Database Mirroring, or custom TCP endpoints. Description Stops specific or all SQL Server endpoints on target instances. Endpoints are communication channels that SQL Server uses for features like Service Broker messaging, Database Mirroring, Availability Groups, and custom applications.

Read more

Test-DbaEndpoint

Chrissy LeMaire (@cl), netnerds.net

Test-DbaEndpoint View Source Chrissy LeMaire (@cl), netnerds.net Windows, Linux, macOS On this page: Synopsis · Description · Syntax · Examples · Parameters · Outputs Synopsis Tests network connectivity to SQL Server endpoint TCP listener ports. Description Tests network connectivity to SQL Server endpoint TCP listener ports by attempting direct socket connections. This function validates that endpoint ports are accessible from the network level, which is essential for troubleshooting database mirroring, Service Broker, and availability group connectivity issues.

Read more