Remote Category | Vmware PowerCLI Reference

Remote Category

Cmdlets are usually implemented around resource operations. The four basic operations are CREATE, READ, UPDATE and DELETE. This set of operations is known as CRUD. Most of the cmdlets support CRUD which are respectively cmdlets that start with the New/Get/Set/Remove cmdlet verbs but they also may have additional operations

Step 1 : Run commands from the CRUD group

You can CREATE objects by using New-RemoteVsanServerClusterConfig cmdlet. See example below:

# Creates a local RemoteVsanServerClusterConfig with the Symmetric network topology type and the $clusterServer server cluster for the mounted remote vSAN datastore. Mounts the $datastore datastore from the $clusterServer cluster as a remote datastore on the $clusterClient cluster with the $serverconfig object.

$serverConfig = New-RemoteVsanServerClusterConfig -cluster $clusterServer -networktopology "Symmetric" Set-VsanClusterConfiguration -configuration $clusterClient -mountremotedatastore $datastore -remoteVsanServerClusterConfig $serverconfig