Netsh Commands for Network Policy Server
Updated: March 29, 2012
Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012
You can use commands in the Netsh Network Policy Server (NPS) context to configure all aspects of NPS. The Netsh commands for NPS provide the same functionality as the NPS console, and the commands can be run manually at the netsh prompt or in scripts and batch files.
To run these commands from the command prompt, you must either enter the netsh nps context or prepend the context to the command. For example, if you are at the command prompt but have not typed netsh and then nps to enter the netsh nps context, you must type:
netsh nps command
Where command is the command that you want to run, including all of the required parameters for the command.
The following sections provide Netsh commands for NPS in Windows Server® 2008 and Windows Server® 2008 R2.
Netsh Commands for Network Policy Server in Windows Server 2008
Netsh Commands for Network Policy Server in Windows Server 2008 R2
|Unless otherwise noted in this reference, Netsh commands in Windows Server 2008 R2 provide the same functionality as the Netsh commands in Windows Server 2008.|