Wildcard in script block generates ObjectNotFOund and CommandNotFoundException