Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Import Json fails with Powershell 4.0 #564
When running Import-DbcConfig, was getting an error stating "Invalid array passed in, ']' expected. (1): [ "
Was 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.
I updated the version on the server to 5.1 and the import worked without issue.