There are two powershell scripts Script1 & Script2. Script1 has Docker exec command which calls Script2.
Script1:
$output = ExecutePS2InDocker -command