Add ConvertTo-Bool filter function in powershell common code