Debug-NetworkControllerConfigurationState
Queries for resources in a failure or warning state.
Syntax
Debug-NetworkControllerConfigurationState
[-NetworkController] <String>
[[-ResourceId] <String>]
[[-ResourceType] <String>]
[[-Credential] <PSCredential>]
[[-RestURI] <String>]
[[-CertificateThumbprint] <String>]
[<CommonParameters>]
Description
The Debug-NetworkControllerConfigurationState cmdlet queries for resources that are in a failure or warning state. This cmdlet queries the Network Controller to see if there are any tenant or fabric resources that are in a failure or warning configuration state based on the actual configuration state of the component. This cmdlet also returns detailed information that contains the source of the error, a message, and error code.
You can run this cmdlet from a computer that has Layer-3 connectivity to the Representational State Transfer (REST) IP address of the Network Controller. The computer must have the Network Controller REST certificate installed.
Examples
Example 1: Query configuration state for REST resources
PS C:\>Debug-NetworkControllerConfigurationState -NetworkController 10.123.177.94
This command queries configuration state for all REST resources for the specified Network Controller.
Parameters
-CertificateThumbprint
Specifies the certificate thumbprint to use for the Network Controller. Specify this parameter for certificate deployment.
Type: | String |
Position: | 5 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credential
Specifies a credential to use for the Network Controller. To obtain a PSCredential object, use the Get-Credential cmdlet. Specify this parameter for Kerberos deployment.
Type: | PSCredential |
Position: | 3 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-NetworkController
Specifies the name or IP address of a Network Controller node.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
Specifies a REST resource ID.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceType
Specifies a REST Resource type.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RestURI
Specifies the URI to use for Network Controller REST APIs. Specify this parameter for wildcard certificate deployment.
Type: | String |
Position: | 4 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None