Powershell provisioner: Does it support calling another powershell script?

ScriptA.ps1 calls ScriptB.ps1 and it is failing in powershell provisioner with this error:

Both ScriptA.ps1 and ScriptB.ps1 are just one liner code to write out some message.

image