Q&A 1. What is $? in Powershell? Simple answer: It returns true if the last command was successful, else false. See stackoverflow for more details.