Ports required to use dbatools – SQL Server

ProtocolDefault portSample CommandPercentage of Commands
SQL Database Engine1433Get-DbaDatabase62%
WS-Management5985 or 5986New-DbaClientAlias25%
SQL WMI135Enable-DbaAgHadr4%
SMB139Invoke-DbaDbLogShipping4%
SMB over IP445Get-DbaPfDataCollectorCounterSample<1%

Leave a Reply