Answer the question
In order to leave comments, you need to log in
How to shut down Windows through Linux?
Please tell me the easiest way to implement to turn off a PC on Windows 10 using the Linux command line... Actually, a server on Linux should shut down the PC on schedule =)
Thank you
Answer the question
In order to leave comments, you need to log in
#!/bin/bash
DOMAIN="roga-i-kopyta.com"
USER="V.Pupkin"
PASS="Pa$$w0rd"
HOST="192.168.77.66"
net rpc shutdown -f -U "$DOMAIN"'\'"$USER"'%'"$PASS" -t 2 -I "$HOST"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question