Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Clean Array Variable For Use

$
0
0

Hey guys, I’m having an issue getting an array variable to act like an array. I have a module that grabs address book from a Ricoh printer and all that is great, however the headers aren’t acting properly once I did Out-File and took a look. There are no columns and the spaces in-between aren’t consistent to use a delimeter (I think). Here’s an example: http://imgur.com/z6KS9do

Unfortunately, the module doesn’t have an ability to remove an entry unless using -ID, which I am not able to find unless I can lookup within a variable. Is there another way to look it up? Or can I convert this to something more usable?

Thanks so much !

submitted by /u/Kerackiswhack
[link] [comments]

The post Clean Array Variable For Use appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Latest Images

Trending Articles



Latest Images