Need help to get the list of datastores in SRM protection group
Did you check the Get-SrmConfigReportProtectedDatastore function in Ben's SRM-Cmdlets repo ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference