Get-NpsRemediationServer
Get-NpsRemediationServer
Retrieves a list of remediation servers from a remediation server group.
Syntax
Parameter Set: Default
Get-NpsRemediationServer [-RemediationServerGroup] <String> [ <CommonParameters>]
Detailed Description
The Get-NpsRemediationServer cmdlet retrieves a list of remediation servers from the specified remediation server group.
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.
For more information about remediation, see NAP Configuration Overview (https://technet.microsoft.com/library/dd125319(v=ws.10).aspx) on TechNet.
Parameters
-RemediationServerGroup<String>
Specifies the name of the remediation server group from which to return remediation servers.
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: Get a list of remediation servers from a remediation server group
This command gets a list of the remediation servers from the remediation server group named "ContosoRemediationServers" and assigns them to the variable named $MyRemediationServers.
PS C:\> $MyRemediationServers = Get-NpsRemediationServer -RemediationServerGroup "ContosoRemediationServers"