{"action":"opened","issue":{"url":"https://api.github.com/repos/sqlcollaborative/dbachecks/issues/564","repository_url":"https://api.github.com/repos/sqlcollaborative/dbachecks","labels_url":"https://api.github.com/repos/sqlcollaborative/dbachecks/issues/564/labels{/name}","comments_url":"https://api.github.com/repos/sqlcollaborative/dbachecks/issues/564/comments","events_url":"https://api.github.com/repos/sqlcollaborative/dbachecks/issues/564/events","html_url":"https://github.com/sqlcollaborative/dbachecks/issues/564","id":376538491,"node_id":"MDU6SXNzdWUzNzY1Mzg0OTE=","number":564,"title":"Import Json fails with Powershell 4.0","user":{"login":"SacSQLDude","id":31079557,"node_id":"MDQ6VXNlcjMxMDc5NTU3","avatar_url":"https://avatars2.githubusercontent.com/u/31079557?v=4","gravatar_id":"","url":"https://api.github.com/users/SacSQLDude","html_url":"https://github.com/SacSQLDude","followers_url":"https://api.github.com/users/SacSQLDude/followers","following_url":"https://api.github.com/users/SacSQLDude/following{/other_user}","gists_url":"https://api.github.com/users/SacSQLDude/gists{/gist_id}","starred_url":"https://api.github.com/users/SacSQLDude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SacSQLDude/subscriptions","organizations_url":"https://api.github.com/users/SacSQLDude/orgs","repos_url":"https://api.github.com/users/SacSQLDude/repos","events_url":"https://api.github.com/users/SacSQLDude/events{/privacy}","received_events_url":"https://api.github.com/users/SacSQLDude/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-01T19:35:34Z","updated_at":"2018-11-01T19:35:34Z","closed_at":null,"author_association":"NONE","body":"<!-- ERASE the sections that are not applicable but please provide as much information as possible -->\r\n\r\n## Bug Report\r\nWhen running _Import-DbcConfig_, was getting an error stating \"Invalid array passed in, ']' expected. (1): [ \"\r\n\r\nWas running locally on a server with admin rights when getting this error. Ran locally on my laptop and had no issues. Discovered the only difference was the Import_DbcConfig worked on PS version 5.1 but not on 4.0. Did not test 5.0.\r\n\r\nI updated the version on the server to 5.1 and the import worked without issue.\r\n\r\n### Version Information\r\n - Operating System (Name|Version): <!-- enter name and version --> Win2012R2\r\n - PowerShell Version: <!-- enter version of PS where code is run -->4.0\r\n - SQL Server (Edition|Version): <!-- enter Edition and Version for Source and Target if applicable -->2016\r\n"}}
{"actor":{"display_login":"SacSQLDude"}}