NPS condition syntax Client Friendly Name in 2012R2

bkoch709 1 Reputation point
2022-06-09T14:12:36.593+00:00

Newbie here. Trying to find the right syntax for matching the Client Friendly Name attribute in NPS 2012R2 network policy.

An example name is RA-CORP-IT-FP01

The conditions I'm trying to figure out matches the starting "RA-" and then the "FP0"

I found a doc here for 2016/2019, but haven't been able to get it to work: https://learn.microsoft.com/en-us/windows-server/networking/technologies/nps/nps-crp-reg-expressions

Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,712 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jérémie MARTY 0 Reputation points
    2024-04-09T10:18:35.7466667+00:00

    Hi,

    I think is too late, but I put this anwser here. You can use (?:abc) and use the OR operator to match everythings enclosed. Like :

    /(?:RA-|-FP0)

    User's image

    hope it will help.

    Rgds,

    0 comments No comments