Forum Discussion
Anonymous
4 years agoThe following works for me:
> $Issuer = "CN=UCLA Health AD Certificate Authority-CA1, DC=ad, DC=medctr, DC=ucla, DC=edu"
> (($Issuer -split ",") |? {$_ -like "CN=*"}) -replace "CN="
UCLA Health AD Certificate Authority-CA1
Related Content
- 4 months ago
- 4 years ago