I need a little help writing a bat file that will shutdown my My Cloud 4th Personal Cloud NAS device when the PC is shutdown. I have a battery backup that will autoshutdown the PC when the power goes out. I need the NAS also to shutdown when the power goes out. This is for a small office in which I am not present for 12-16 hours a day. Somebody that knows how to write a bat file, please help.
Before anyone asks:
— I have searched the forums and found similar issues but not enough to accomplish my task.
— Budgetary challenges prevent me from buying a battery backup or another NAS.
— I am running Windows 10 64-bit, Intel Core i7 2.8GHz, 16GB Ram.
Again, I would greatly appreciate if someone can help me write this thing. I know enough to be dangerous.
YOu do not “install” putty or plink rather just unzip the files into a folder on your computer. Then create the BAT file and either put it in the same folder as putty/plink or modify the code in the BAT file to point to the directory containing Putty/Plink. Edit the IP address in the example previously mentioned so it matches YOUR My cloud IP address. Same goes for the password (pw). Change it to match your SSH password.