< Back

Get-NSDCServiceStatus

Mon Jan 13, 2020 9:02 pm

NAME Get-NSDCServiceStatus



SYNOPSIS

Using the NSDCServiceStatus will get the current status of Delivery Controllers Services





SYNTAX

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





DESCRIPTION

This command provide details information about the Delivery Controllers and below Services



It contain below information.



1.AcctServiceStatus







2.ConfigServiceStatus







3.AdminServiceStatus







4.BrokerServiceStatus







5.LogServiceStatus







6.MonitorServiceStatus













.EXAMPLE.1



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

VERBOSE: working for Server008





DeliveryController : Server008

AcctServiceStatus : OK

ConfigServiceStatus : OK

AdminServiceStatus : OK

BrokerServiceStatus : OK

LogServiceStatus : OK

MonitorServiceStatus : OK



VERBOSE: working for Server009.com

DeliveryController : Server009.com

AcctServiceStatus : OK

ConfigServiceStatus : OK

AdminServiceStatus : OK

BrokerServiceStatus : OK

LogServiceStatus : OK

MonitorServiceStatus : OK





.EXAMPLE.2



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





PS C:\\Users\\nadsiddi> Get-NSDCServiceStatus -DeliveryController Server009

VERBOSE: working for Server009





DeliveryController : Server009

AcctServiceStatus : OK

ConfigServiceStatus : OK

AdminServiceStatus : OK

BrokerServiceStatus : OK

LogServiceStatus : OK

MonitorServiceStatus : OK







.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