Skip to main content

NPS Powershell

(2026-09-24)

Export the NPS Clients

Get-NpsRadiusClient | ForEach-Object {
    Write-Output "New-NpsRadiusClient -Name `"$($_.Name)`" -Address `"$($_.Address)`" -SharedSecret `"$($_.SharedSecret)`" -VendorName `"$($_.VendorName)`" -AuthAttributeRequired `$false"

This dumps a list of powershell commands to create the same clients when run on another server, for example:

New-NpsRadiusClient -Name "MyDevice" -Address "192.168.100.101" -SharedSecret "SharedSecretInPlainText" -VendorName "RADIUS Standard" -AuthAttributeRequired $false