Remotely shutdown NAS through a script?

Don't miss a thing. Post your questions and discussion about other uncategorized NAS features here.
Post Reply
smilingReeX
Getting the hang of things
Posts: 52
Joined: Wed Jan 16, 2019 9:33 pm

Remotely shutdown NAS through a script?

Post by smilingReeX »

is there a way to shutdown a QNAP NAS using command line, for instance through Powershell? If so, how?
User avatar
dolbyman
Guru
Posts: 35010
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Remotely shutdown NAS through a script?

Post by dolbyman »

SSH

Code: Select all

shutdown
works I think
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: Remotely shutdown NAS through a script?

Post by FSC830 »

Or better use full path

Code: Select all

/etc/init.d/poweroff
Regards
smilingReeX
Getting the hang of things
Posts: 52
Joined: Wed Jan 16, 2019 9:33 pm

Re: Remotely shutdown NAS through a script?

Post by smilingReeX »

Great, thanks!
User avatar
OneCD
Guru
Posts: 12037
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: Remotely shutdown NAS through a script?

Post by OneCD »

A simple:

Code: Select all

poweroff
... will do the job. ;)

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Post Reply

Return to “Miscellaneous”