Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ ms.assetid: 18D068F1-0DFC-42AE-9EB8-78237ED5AA7F
# Invoke-NetworkControllerState

## SYNOPSIS
This cmdlet dumps the current configuration and state of Network Controller services on the local Network Controller nodes

## SYNTAX

Expand All @@ -31,13 +32,20 @@ Invoke-NetworkControllerState [[-Tags] <PSObject>] [-Properties] <NetworkControl
```

## DESCRIPTION
This cmdlet dumps the current configuration and state of Network Controller services on the local Network Controller nodes. This is useful for diagnostic purposes. The state is stored locally in the Network Controller nodes at %windir%/tracing/SDNDiagnostics/NetworkControllerState folder.

## EXAMPLES

This example dumps the state of Network Controller services on the local Network Controller nodes.
```
$state=New-Object Microsoft.Windows.NetworkController.NetworkControllerStateProperties
Invoke-NetworkControllerState -ConnectionUri https://networkcontroller -Properties $state
```

## PARAMETERS

### -CertificateThumbprint
Specifies the digital public key X.509 certificate of a user account that has permission to perform this action.This is the certificate thumbprint of the certificate.This thumbprint must also be provided in the *ClientCertificateThumbprint* parameter in the **Install-NetworkController** or **Set-NetworkController** cmdlet so that Network Controller can authorize this user.

```yaml
Type: String
Parameter Sets: (All)
Expand Down Expand Up @@ -66,6 +74,8 @@ Accept wildcard characters: False
```

### -ConnectionUri
Specifies the Uniform Resource Identifier (URI) of the Network Controller, used by all Representational State Transfer (REST) clients to connect to Network Controller.

```yaml
Type: Uri
Parameter Sets: (All)
Expand All @@ -79,6 +89,8 @@ Accept wildcard characters: False
```

### -Credential
Specifies a user credential that has permission to perform this action.The default value is the current user.This user must be present in the security group provided in the *ClientSecurityGroup* parameter in the **Install-NetworkController** cmdlet.

```yaml
Type: PSCredential
Parameter Sets: (All)
Expand All @@ -92,6 +104,8 @@ Accept wildcard characters: False
```

### -Etag
Specifies the entity tag (ETag) of the resource.An ETag is an HTTP response header returned by an HTTP-compliant web server.An ETag is used to determine change in the content of a resource at a given URL.The value of the header is an opaque string representing the state of the resource at the time the response was generated.

```yaml
Type: String
Parameter Sets: (All)
Expand All @@ -105,6 +119,8 @@ Accept wildcard characters: False
```

### -Force
Forces the command to run without asking for user confirmation.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Expand All @@ -131,6 +147,8 @@ Accept wildcard characters: False
```

### -Properties
Specifies the properties of the resource. For this resource, no specific properties have to be assigned

```yaml
Type: NetworkControllerStateProperties
Parameter Sets: (All)
Expand All @@ -144,6 +162,8 @@ Accept wildcard characters: False
```

### -ResourceId
Specifies the unique identifier of the resource

```yaml
Type: String
Parameter Sets: (All)
Expand All @@ -157,6 +177,8 @@ Accept wildcard characters: False
```

### -ResourceMetadata
Specifies metadata information for the client, such as the tenant ID, group ID, and resource name.

```yaml
Type: ResourceMetadata
Parameter Sets: (All)
Expand Down