Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Need help with this.

$
0
0

I have a list of multiple PTR records and I'm trying to remove the first IP (technically the last octet) from each PTR to create the record using Powershell.

Example:

Currently PTR:
145.100.94.55.in-addr.arpa
224.100.99.55.in-addr.arpa
100.25.46.100.in-addr.arpa
120.25.46.107.in-addr.arpa
1.25.46.10.in-addr.arpa

Should be:
100.94.55.in-addr.arpa
100.99.55.in-addr.arpa
25.46.100.in-addr.arpa
25.46.107.in-addr.arpa
25.46.10.in-addr.arpa

Seems like I'm stuck and unable to find a way around this. Please help.


99upgrade


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>