Compartilhar via


New-NpsRemediationServer

New-NpsRemediationServer

Creates a remediation server.

Syntax

Parameter Set: Default
New-NpsRemediationServer [-RemediationServerGroup] <String> [-Address] <String> [-Name <String> ] [ <CommonParameters>]

Detailed Description

The New-NpsRemediationServer cmdlet creates a remediation server in a remediation server group that you specify.

In Network Access Protection (NAP), the network policies on the Microsoft Windows Network Policy Server (NPS) use remediation to enforce NAP for clients whose health state does not comply with policy requirements and to bring those clients into a compliant state. Remediation servers provide the resources that clients need to become compliant including the client management point, the software update point, or distribution points that contain software updates.

Parameters

-Address<String>

Specifies the fully qualified domain name (FQDN) or IP address of the remediation server to add. The address must be unique.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of the remediation server to add.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-RemediationServerGroup<String>

Specifies the name of the remediation server group to which you add the server.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

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.

  • NpsRemediationServer

Examples

Example 1: Add a new remediation server

This command adds a remediation server with the FQDN Server1.adatum.com to a remediation server group named Servers1. The server name is Seattle Remediation Server.

PS C:\> New-NpsRemediationServer –Address "Server1.adatum.com" –Name "Seattle Remediation Server" –RemediationServerGroup "Servers1" 

Get-NpsRemediationServer

Get-NpsRemediationServerGroup

New-NpsRemediationServerGroup

Remove-NpsRemediationServer

Remove-NpsRemediationServerGroup