Export-NpsConfiguration

Export-NpsConfiguration

Exports NPS settings.

Syntax

Parameter Set: Default
Export-NpsConfiguration [-Path] <String> [ <CommonParameters>]

Detailed Description

The Export-NpsConfiguration cmdlet exports settings for Network Policy Server (NPS). NPS manages network access policies for client health, connection request authentication, and connection request authorization. You can use NPS as a Remote Authentication Dial-In User Service (RADIUS) proxy to forward connection requests to NPS or other RADIUS servers that you configure in remote RADIUS server groups. For more information about NPS, see Network Policy Server (https://technet.microsoft.com/en-us/library/cc732912.aspx) on TechNet.

The exported file contains unencrypted shared secrets for RADIUS clients and members of remote RADIUS server groups. Because of this, make sure that you save the file to a secure location.

The export process does not include Logging settings for Microsoft SQL Server in the exported file. After you import the exported file to another NPS server, you must manually configure SQL Server Logging on the new server.

Parameters

-Path<String>

Specifies the full path of the export file.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None

Examples

Example 1: Export settings from a Network Policy Server to a file

This command exports settings from NPS to the file named C:\Npsconfig.xml.

PS C:\> Export-NpsConfiguration -Path C:\Npsconfig.xml

Import-NpsSettings