Application Integration
cancel
Showing results for 
Search instead for 
Did you mean: 

Feedback HPENimblePowerShellToolkit PS Module version 2.1.0

 
Highlighted
tmitchellboston
Occasional Visitor

Feedback HPENimblePowerShellToolkit PS Module version 2.1.0

Hello,

I don't know if this is the right place for feedback and or requests.

I was hoping you could remove the write-host for the following message
'Successfully connected to array $arrayName'

The problem with the write-host is I cannot out-null the output and it causes problems when I am trying to loop through multiple nimble groups.

Here is my code: https://pastebin.com/UGMJPBV6
In line 7 you can see I am feeding the cmdlet to $null but it still outputs as you can see in the output section of the pastebin. I could skip the first entry in every loop ofcourse but I was hoping you could remove the write-host and use write-output instead

Example of differences 
https://pastebin.com/meN5fZwC

Thanks!

1 REPLY 1
jayst136
Occasional Advisor

Re: Feedback HPENimblePowerShellToolkit PS Module version 2.1.0

yes so much +1 for me too!

i was going crazy on trying to supress the output but failed. Ended up modifying the module itself, but that's not preferred.

in my case, script output is interpreted by another app that expects a certain format. I cannot workaround the 'Successfully connected to array $arrayName" messages well.