windows 10 scp code example Example 1: sc windows sc query state= all Example 2: sc windows sc query > listeServices.txt