Get-Network
Controller
Deployment
Info
Syntax
Get-NetworkControllerDeploymentInfo
[-NetworkController] <String>
[[-Credential] <PSCredential>]
[[-RestURI] <String>]
[[-CertificateThumbprint] <String>]
[<CommonParameters>]
Description
The Get-NetworkControllerDeploymentInfo cmdlet queries the Network Controller for Representational State Transfer (REST) information, such the REST URI and the REST Certificate.
You can run this cmdlet from a computer that has Layer-3 connectivity to the Network Controller.
Examples
Example 1: Get configuration state for all REST resources for a Network Controller
PS C:\>$Credential = Get-Credential
PS C:\> Get-NetworkControllerDeploymentInfo -NetworkController "NC-0.contoso.cloud.com" -Credential $Credential
The first command creates credentials by using the Get-Credential cmdlet, and then stores it in the $Credential variable. The command prompts you for user name and password.
The second command gets configuration state for all REST resources for a Network Controller.
Required Parameters
Specifies the name or IP address of a Network Controller node.
Type: | String |
Position: | 0 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Optional Parameters
Specifies certificate thumbprint to use for the Network Controller. Specify this parameter for certificate deployment.
Type: | String |
Position: | 3 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a credential to use for the Network Controller. Specify this parameter for Kerberos deployment.
Type: | PSCredential |
Position: | 1 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the URI to use for Network Controller REST APIs. Specify this parameter for wildcard certificate deployment.
Type: | String |
Position: | 2 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |