Saturday, January 05, 2013

Powershell Quick Tips: Return exit code

Short command below returns exit code of 1.
powershell -Command exit 1

No comments:

Test Code

netsh advfirewall firewall add rule name = "RPC Endpoint Mapper" dir = in action = allow protocol = TCP localport = 1...