Get-NetworkControllerDiagnostic
Get-NetworkControllerDiagnostic
Gets network controller diagnostic settings.
구문
Parameter Set: Default
Get-NetworkControllerDiagnostic [-CertificateThumbprint <String> ] [-ComputerName <String> ] [-Credential <PSCredential> ] [-UseSsl] [ <CommonParameters>]
자세한 설명
The Get-NetworkControllerDiagnostic cmdlet gets network controller diagnostic settings. This cmdlet displays whether the network controller collects only cluster logs. If a remote log location exists, this cmdlet displays it.
매개 변수
-CertificateThumbprint<String>
Specifies the digital public key X.509 certificate of a user account that has permission to perform this action. Specify the certificate thumbprint of the certificate. Specify this parameter only if you run this cmdlet on a computer that is not part of the network controller cluster.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-ComputerName<String>
Specifies the name of the network controller node on which this cmdlet operates.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Credential<PSCredential>
Specifies a user credential that has permission to perform this action. The default is the current user. Specify this parameter only if you run this cmdlet on a computer that is not part of the network controller cluster.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-UseSsl
Indicates that the remote machine uses the Secure Sockets Layer (SSL) protocol to establish a connection to the Network Controller node. The default value of this parameter is false. Specify this parameter only if you run this cmdlet on a computer that is not part of the network controller cluster.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)
입력
입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.
출력
출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.
This cmdlet returns an object that contains the following fields:
-- Log scope
-- Diagnostic log location
예
Example 1: Get diagnostic settings
This command gets the diagnostic settings for a cluster that contains the node named Node01.Contoso.com. The cmdlet shows that network controller collects all diagnostic logs. The network controller collects the logs locally on the nodes.
PS C:\> Get-NetworkControllerDiagnostic -ComputerName "Node01.Contoso.com"