Apple Remote Desktop Shutdown

I am relatively new to Macs and their osascript syntax. I have a mac mini set up as a server and I am trying to use Apple Remote Desktop to send a command to one of the iMac workstations. When I send the command osascript -e ‘tell application “System Events” to shut down’ I get the message execution error: File permission error (-54). I am unsure how to resolve this. Any help would be greatly appreciated!