< Back

Get-NSDBStatus

Mon Jan 13, 2020 9:02 pm

NAME Get-NSDBStatus



SYNOPSIS

Using the Get-NSDBStatus will get the current status of Delivery Controllers and the database





SYNTAX

Get-NSDBStatus [[-DeliveryController] <String[]>] [-LogErrors] [<CommonParameters>]





DESCRIPTION

This command provide details infoamtion about the Delivery Controllers and below database



It contain below information.



1.BrokerDBConnection



Connection between the broker delivery controller and the Database



2.MonitorDBConnection



Connection between the delivery controller and the Monitoring Database



3.LogDBConnection



Connection between the delivery controller and the Log Database



4.AcctDBConnection



Connection between the delivery controller and the Acct Database



5.AdminDBConnection



Connection between the delivery controller and the Admin Database







.EXAMPLE.1



We can use this command as below



PS C:\\Users\\nadsiddi> Get-NSDBStatus











.EXAMPLE.2



We can also use the command to get the Database status of perticuler Delivery Controller



PS C:\\Users\\nadsiddi> Get-NSDBStatus -DeliveryController Server002







.EXAMPLE.3



Using the below methoid will help to collect the error log at error.log file



Get-NSBrokercontroller -Error 'E:\\Scripts\\Nadeem-Testing\\error.log'





.EXAMPLE.4



Using the below methoid will help to catch the warning messages under the variable $Catchwarning



Get-NSBrokercontroller -WarningVariable $Catchwarning





PARAMETERS

-DeliveryController <String[]>



Required? false

Position? 1

Default value (Get-BrokerController).DNSName

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-LogErrors [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS