I think if you change your Get-SCReplay line to this, it should work. Get-SCReplay -SourceVolumeIndex $myVolume.Index -Connection $myConnection
I am trying to automate DR by creating views of replica replays to mount to hosts. I need to enumerate the replays before I can mount them, but when I try to enumerate replays on replica volumes, nothing is returned. For example: Get-SCReplay -SourceSCVolume $myVolume -Connection $myConnection When $myVolume is a local volume (not replicated) this returns a list of replays. When $myVolume is a replica (from another storage center) this command returns nothing. Any ideas? Am I going about this the wrong way? I have turned to scripting as the Enterprise Manager Active/Test DR Features are not comprehensive enough to meet my needs. -Jonathan
Powershell List Replica Replays