NPS client import with netsh

Is there any way to import a client into NPS using netsh that has the & character in the shared secret?

We have a global secret that we use and it contains a &.

March 27th, 2015 1:18pm

If you put quotes around the secret, it will import.

netsh nps add client name=test address=1.1.1.1 state=enable "sharedsecret=thisworks&"


Free Windows Admin Tool Kit Click here and download it now
March 27th, 2015 4:41pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics