As mentioned in this blog post, the Invoke-ScriptInBcContainer has undergone some serious changes in BcContainerHelper 3.0.9, which just shipped.
This blog post will describe some details about how this function works.
The function takes a containerName, a scriptblock and an argument list as parameters and will execute this scriptblock inside the container.