Quantcast
Channel: VMware Communities : Discussion List - Site Recovery Manager
Viewing all articles
Browse latest Browse all 3691

How to get SrmFolder from MoRef using PowerShell & SRM API

$
0
0

I'm trying to list my Protection Groups which are nested in folders. I can get the parent folder MoRef easily enough:

 

$srmapi.Protection.ListProtectionGroups()[0].GetParentFolder().MoRef

 

But how can I get the SrmFolder object from the MoRef? I just need to get the folder name essentially.


Viewing all articles
Browse latest Browse all 3691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>