Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Split and join?

$
0
0

This should be simple, I want to take a domain name from it's FQDN structure, split it on the "." and rebuild it in the "dc=nnn,dc=nn,..dc=com" format.  the fqdn could have a variable number of parts, D1.com, da.db.dc.com, etc.  What's the simplest way?


Viewing all articles
Browse latest Browse all 6937

Trending Articles