Changed PowerShell type not to have to call Command.