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
- 3 months ago
- 3 years ago