Editar

Compartilhar via


Debug-CsStorageServiceFailures

Use the Debug-CsStorageServiceFailures cmdlet to return debugging data for the Skype for Business Storage Service.

Syntax

Debug-CsStorageServiceFailures
     [-AdapterId <Guid>]
     [-Binding <String>]
     [-Component <Component>]
     [-EndTime <DateTime>]
     [-Force]
     [-HostNameStorageService <String>]
     [-OutFileName <String>]
     [-SipUri <String>]
     [-StartTime <DateTime>]
     [<CommonParameters>]

Description

The information returned can vary by system configuration. The following is a generic sample of the information returned with for a user specified by the SipUri parameter.

AdapterId : bc24207f-08a7-4569-b984-a90f78a49d46

EndpointId : archcdruser2@vdomain.com

EndpointStatusTime : 5/8/2018 6:33:52 PM

EndpointStatusDetail : StoreWebException: code=ErrorEwsAutodiscover, reason=GetUserSettings

failed, smtpAddress=archcdruser0@vdomain.com, Autodiscover

Uri=https://dc.vdomain.com/autodiscover/badautodiscover.svc, Autodiscover

WebProxy=<NULL>, WebExceptionStatus=ProtocolError --->

System.Net.WebException: The remote server returned an error: (404) Not

Found.

at System.Net.HttpWebRequest.GetResponse()

at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchan

ge.WebServices.Data.IEwsHttpWebRequest.GetResponse()

at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverRequest.Intern

alExecute()

--- End of inner exception stack trace ---

at Microsoft.Rtc.Internal.Storage.Exchange.ExchangeContext.SendGetUserSet

tingsRequest(StoreContext ctx, String smtpAddress) in c:\depot\lcs\hf\src\de

v\server\lcs\lyss\LyssService\Exchange\ExchangeContext.cs:line 250

at Microsoft.Rtc.Internal.Storage.Exchange.ExchangeContext.GetUserEwsSett

ings(StoreContext ctx, String smtpAddress, CacheMode cacheMode) in c:\depot\

lcs\hf\src\dev\server\lcs\lyss\LyssService\Exchange\ExchangeContext.cs:line

656

Other :

Examples

-------------------------- Example 1 --------------------------

Debug-CsStorageServiceFailures -SipURI kmyer@contoso.com

This example returns debugging information about storage service failures relating to user kmyer@contoso.com.

-------------------------- Example 2 --------------------------

Debug-CsStorageServiceFailures -Component ConversationHistory

This example returns debugging information about storage service failures relating to the conversation history component.

Parameters

-AdapterId

Specifies the GUID of the data adapter on which to gather the debugging information.

Type:Guid
Aliases:g
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-Binding

Specifies the Windows Communication Foundation (WCF) binding. A WCF binding determines the transport, encoding, and protocol details required for clients and services to communicate with each other. Valid values are:

  • NetNamedPipe
  • NetTCP
Type:String
Aliases:b
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-Component

Specifies the storage service component for which debug information will be returned. Acceptable values for the Component parameter are:

  • ConversationHistory
  • ExchangeArchiving
  • SqlArchiving
  • QoE
  • CDR
  • LegalIntercept
  • DataPurge
  • Other
Type:Component
Aliases:c
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-EndTime

The EndDate parameter specifies the end date of the date range.

Use the short date format defined in the Regional Options settings for the computer on which the command is run. For example, if the computer is configured to use the short date format mm/dd/yyyy, enter 03/01/2018 to specify March 1, 2018. You can enter the date only, or you can enter the date and time of day. If you enter the date and time of day, you must enclose the argument in quotation marks ("), for example, "10/05/2018 5:00 PM".

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-Force

Suppresses the display of any non-fatal error messages and completes the cmdlet operation.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-HostNameStorageService

Fully qualified domain name of the server where the Skype for Business Storage Service is running. This parameter is required if the Binding parameter is set to NetTCP.

Type:String
Aliases:h
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-OutFileName

Specifies the full path of where to write a text file containing the debug results. Otherwise, they are written to the console.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-SipUri

Specifies the Session Initiation Protocol (SIP) Uniform Resource Identifier (URI) of the user on which to collect debug data. This is the SIPAddress property of the user as returned by the Get-CsUser cmdlet.

Type:String
Aliases:s
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-StartTime

The StartDate parameter specifies the start date of the date range.

Use the short date format defined in the Regional Options settings for the computer on which the command is run. For example, if the computer is configured to use the short date format mm/dd/yyyy, enter 03/01/2018 to specify March 1, 2018. You can enter the date only, or you can enter the date and time of day. If you enter the date and time of day, you must enclose the argument in quotation marks ("), for example, "10/05/2018 5:00 PM".

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

Inputs

None

Outputs

System.String