Reader small image

You're reading from  Mastering PowerCLI

Product typeBook
Published inOct 2015
Reading LevelIntermediate
PublisherPackt
ISBN-139781785286858
Edition1st Edition
Languages
Right arrow
Author (1)
Sajal Debnath
Sajal Debnath
author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath

Right arrow

Managing vCenter Site Recovery Manager


Here, we will discuss how we can use PowerCLI cmdlets to manage Site Recovery Manager. To manage SRM, we can use two cmdlets: Connect-SrmServer and Disconnect-SrmServer.

To connect to an SRM server, we first need to connect to a vCenter server where SRM is already configured and attached to the vCenter server. Once we connect to the vCenter server using the Connect-VIServer cmdlet, we can connect to the SRM server using the Connect-SrmServer cmdlet:

PS C:\> $srmServer = Connect-SrmServer
PS C:\> $srmServer

Name                           Port  User                 
----                           ----  ----                 
192.168.12.20                  9007  lab.com\Administrator

To disconnect from an SRM server, we can use the Disconnect-SrmServer cmdlet. To get more information from the SRM server and to manage further aspects, we need to access the extension data information. We will go into details of how we can access this information. Here...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering PowerCLI
Published in: Oct 2015Publisher: PacktISBN-13: 9781785286858

Author (1)

author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath