VMware Cloud Community
LPLAdmin
Enthusiast
Enthusiast
Jump to solution

SRM 8.1 Full Protection Group and Recovery Plan Report

I need more information related to SRM Protection Groups and associated Recovery Plans that the below script provides.  For output I'd like to include more information such as the datastore group or datastores in the Protection Group.  Associated Recovery Plans.

Anybody know what outputs are available?  Or have a better script to give me what I'm looking for?

Get-SrmProtectionGroup | %{
  $pg = $_
  Get-SrmProtectedVM -ProtectionGroup $pg } | %{
  $output = "" | select VmName, PgName
  $output.VmName = $_.Vm.Name
  $output.PgName = $pg.GetInfo().Name
  $output
  } | Format-Table @{Label="VM Name"; Expression={$_.VmName} },
  @{Label="Protection group name"; Expression={$_.PgName}
}

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Have a look at Re: SRM Reporting using PowerCLI

That provides quite a bit of the info you are looking at I think.

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

Isn't the following providing that info?

$pg.ListProtectedDatastores()


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
LucD
Leadership
Leadership
Jump to solution

Have a look at Re: SRM Reporting using PowerCLI

That provides quite a bit of the info you are looking at I think.

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos