For (AlleVMS) shutdown(vm) endfor connect to NAS by SSH send shutdown by ssh shell endconnect shutdown host