To test a search conditions, save the SearchConditions code "as-is" in the file c:\temp\searchConditions.xml (or any other file name) and then execute it with cmd4, like:
cmd4 get -conditions c:\temp\searchConditions.xml -out c:\temp\output.xml -username ... -password ...
See also
Using search conditions with cmd4 / srv4