Remotely icon indicating copy to clipboard operation
Remotely copied to clipboard

Support json as an option for the remote target configuration in addition to csv

Open SteveL-MSFT opened this issue 9 years ago • 3 comments

Remotely currently uses csv due to requirement to support PS2.0, however, we should consider supporting json as an option

SteveL-MSFT avatar Jun 11 '15 18:06 SteveL-MSFT

+1 - In addition to SteveL's recommendation, could we also allow a parameterized list? For example: ... | Foreach-object { Remotely -SystemName $_ }

dcuomo avatar Mar 10 '17 16:03 dcuomo

@SteveL-MSFT I modified remotely to accept a -SystemName parameter that I can iterate through. I pass through ConfigurationData.AllNodes.NodeName | Foreach-Object...which works well enough for my purposes. IMHO I think a better scenario would be for Pester to accept a -Remotely param in the context or describe blocks to run a group of tests against remote systems without adding a bunch of lines.

dcuomo avatar Mar 19 '17 23:03 dcuomo

@dcuomo I believe we talked to the Pester team about supporting Remotely and they (at the time) thought it wasn't something they would support as part of the core which is why we have this as a separate repo. If you have something you think is useful to others, I encourage you to submit it as a PR :)

SteveL-MSFT avatar Mar 19 '17 23:03 SteveL-MSFT