Instead of using the sed command like in the answer of Oxmel, it is enough to use cut -d'=' -f 2 for all kind of properties queried:
for example:
$ systemctl show -p ActiveState sshd | cut -d'=' -f2 active $ systemctl show -p SubState sshd | cut -d'=' -f2 running