Do you want to restart, stop, start or check the status IIS Service using command line can do same as Linux,
Open the Command prompt, press Windows key + R and type "cmd", the Command Prompt window opens displaying and waiting,
type the following commands,
To Stop IIS : iisreset /stop
To Start IIS : iisreset /start
To Restart IIS : iisreset /restart
Check Status : iisreset /status
Note : If you may getting an error when restart error "Restart Attempt Failed" again type the command.
This script worked like a charm