Session

  • Invoke-ScriptInBcContainer

    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. The function does however have two ways of performing the exact same function. If the user is using PowerShell as administrator AND the setting called usePsSession is not...