{"action":"opened","issue":{"url":"https://api.github.com/repos/brianbunke/ConfluencePS/issues/1","repository_url":"https://api.github.com/repos/brianbunke/ConfluencePS","labels_url":"https://api.github.com/repos/brianbunke/ConfluencePS/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/brianbunke/ConfluencePS/issues/1/comments","events_url":"https://api.github.com/repos/brianbunke/ConfluencePS/issues/1/events","html_url":"https://github.com/brianbunke/ConfluencePS/issues/1","id":174011501,"number":1,"title":"ConvertTo-WikiTable | ConvertTo-WikiStorageFormat issue","user":{"login":"jdubbbb","id":11967305,"avatar_url":"https://avatars.githubusercontent.com/u/11967305?v=3","gravatar_id":"","url":"https://api.github.com/users/jdubbbb","html_url":"https://github.com/jdubbbb","followers_url":"https://api.github.com/users/jdubbbb/followers","following_url":"https://api.github.com/users/jdubbbb/following{/other_user}","gists_url":"https://api.github.com/users/jdubbbb/gists{/gist_id}","starred_url":"https://api.github.com/users/jdubbbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdubbbb/subscriptions","organizations_url":"https://api.github.com/users/jdubbbb/orgs","repos_url":"https://api.github.com/users/jdubbbb/repos","events_url":"https://api.github.com/users/jdubbbb/events{/privacy}","received_events_url":"https://api.github.com/users/jdubbbb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-30T12:55:44Z","updated_at":"2016-08-30T12:55:44Z","closed_at":null,"body":"It seems like ConvertTo-WikiTable should return a string instead of an array.\r\n\r\n`Get-Service | select name,status -First 3 | ConvertTo-WikiTable | ConvertTo-WikiStorageFormat`\r\n\r\nI get multiple tables for each row:\r\n\r\n```\r\n<table><tbody>\r\n<tr>\r\n<th><p>Name</p></th>\r\n<th><p>Status</p></th>\r\n</tr>\r\n</tbody></table>\r\n\r\n<table><tbody>\r\n<tr>\r\n<td><p>AdobeARMservice</p></td>\r\n<td><p>Running</p></td>\r\n</tr>\r\n</tbody></table>\r\n\r\n<table><tbody>\r\n<tr>\r\n<td><p>AeLookupSvc</p></td>\r\n<td><p>Stopped</p></td>\r\n</tr>\r\n</tbody></table>\r\n\r\n<table><tbody>\r\n<tr>\r\n<td><p>ALG</p></td>\r\n<td><p>Stopped</p></td>\r\n</tr>\r\n</tbody></table>\r\n```\r\n\r\nI tried a lot of combinations to try to get one table but finally figured out out-string fixes it:\r\n\r\n`Get-Service | select name,status -First 3 | ConvertTo-WikiTable | out-string | ConvertTo-WikiStorageFormat`\r\n\r\n```\r\n<table><tbody>\r\n<tr>\r\n<th><p>Name</p></th>\r\n<th><p>Status</p></th>\r\n</tr>\r\n<tr>\r\n<td><p>AdobeARMservice</p></td>\r\n<td><p>Running</p></td>\r\n</tr>\r\n<tr>\r\n<td><p>AeLookupSvc</p></td>\r\n<td><p>Stopped</p></td>\r\n</tr>\r\n<tr>\r\n<td><p>ALG</p></td>\r\n<td><p>Stopped</p></td>\r\n</tr>\r\n</tbody></table>\r\n```\r\n\r\nOr maybe ConvertTo-WikiStorage should convert it to string."}}
{"actor":{"display_login":"jdubbbb"}}