I need a Powershell script for ESX to run via ESXCLI for following tasks.
1. read file permission. (ex. /etc/X11/xinit/xinitrc.d/popup.sh) and save it to a file.
2. change the permission on file like chmod 775 /etc/X11/xinit/xinitrc.d/popup.sh
3. delete file
the task need to be run on list of esx servers.
Thanks in Advance.