vSphere Storage This section provides sample scripts for PowerCLI with basic and advanced tasks in vSphere Storage. What to read nextCreate an iSCSI Host StorageFor a host, you can enable iSCSI, add iSCSI targets, and create new host storages.Storage Policy Based Management with VMware PowerCLIManage your storage policies with PowerCLI. Storage Policy Based Management (SPBM) is a storage policy framework that operates on the virtual machine level and serves as a single unified control panel across a broad range of data services and storage solutions. Add a VASA Provider and Create a Policy You can add a VASA provider to a vCenter Server system and create a storage policy. Invoke a Planned Failover on a Replication Group and Reverse the ReplicationYou can invoke a planned failover on a target replication group and recover the devices on the target site. After that, you can reverse the direction of the replication and make the target site the source site. Attach a Flat VDisk to a Virtual MachineYou can create a flat VDisk object and attach it to a virtual machine as a hard disk. After that, you can verify whether the operation was completed successfully. Create an NFS 4.1 DatastoreYou can create an NFS 4.1 datastore with Kerberos authentication and multipathing. Parent topic: Managing vSphere with VMware PowerCLI