Get-SBFarmStatus
Get-SBFarmStatus
You can use this cmdlet to retrieve the status of all Windows Server services hosted as part of the Service Bus for Windows Server.
Syntax
Get-SBFarmStatus [ <CommonParameters>]
Detailed Description
Run Get-SBFarmStatus to return the status of Windows Server services in all of the Service Bus for Windows Server hosts that are part of a Service Bus for Windows Server farm.
Parameters
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1
Retrieve the Service Bus for Windows Server status.
PS C:\> Get-SBFarmStatus
Sample output:
HostId HostName ServiceName Status
1 MachineName Service Bus Gateway Running
1 MachineName Service Bus Message Broker Running
1 MachineName Service Bus Resource Provider Running
1 MachineName Service Bus VSS Running
1 MachineName FabricHostSvc Running