Are you SURE it’s ASCII? That behavior indicates to me that it’s probably UTF.
--
You received this message because you are subscribed to the Google Groups "ntpowershell" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
ntpowershell...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ntpowershell/CADy1Ce7%2BiNQ5LkROn7uJOS1mZcJEwNbKnUKB4M3DNHEbT0ckug%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntpowershell/17df3d9d12d54f33b9dc3f70a6c370dd%40smithcons.com.
I would drop using encoding and let PS handle it.
Have you seen DHCP_Inventory that Web and I wrote over the last decade? It does all this and then much more besides.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntpowershell/CADy1Ce5K3CTehGswFVb0yEmCK22pXz7PusSCRP%2BMvRkj%3Dsyibw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntpowershell/019b8145499848cfb9625d4f24b97de7%40smithcons.com.