http://www.virtuallyghetto.com/2013/09/how-to-bootstrap-vcenter-server-onto.html
http://www.virtuallyghetto.com/2013/09/how-to-bootstrap-vcenter-server-onto_9.html
take a look at above two links, get some idea about configuring VSAN using esxcli based commands.
Regarding PowerCLI, please take a look at following documentation.
https://www.vmware.com/support/developer/windowstoolkit/wintk40/doc/viwin_admg.pdf