Srm Category | Vmware PowerCLI Reference

Srm 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 UPDATE objects by using Connect-SrmServer cmdlet. See example below:

# Connects to a vCenter Server system, that has an SRM server associated with it. Then, invokes the cmdlet without specifying any parameters to establish a connection to the SRM server registered with the connected vCenter Server system. If you have previously connected to other vCenter Server systems configured with SRM server support, this cmdlet invocation will establish a connection to their corresponding SRM servers as well.

Connect-VIServer "myVCServerIp" -User "myUser" -Password "myPassword" Connect-SrmServer

Step 2: Explore More Related Commands:

Disconnect-SrmServer This cmdlet closes the connection to one or more vCenter Site Recovery Manager (SRM) servers.