Forum Discussion

adam_sennott's avatar
adam_sennott
Novice I
2 years ago

Hi All. Do you have PoSH documentation about how to

Hi All. Do you have PoSH documentation about how to copy volumes from protection group snapshots and attach the copies to different VMs in a vVol environment? I found your docs about how to do it with regular volume snapshots, but not PG snapshots.

44 Replies

  • https://github.com/PureStorage-OpenConnect/sqlserver-scripts/blob/master/Refresh-Dev-ProtectionGroups-vVol-v3.ps1
  • I commented out the SQLPS stuff in case DBAs want to do 'database things' when they offline the DBs and also had to change $DefaultFlashArray to $FlashArray in a couple places to accommodate the code in lines 70-75
  • still haven't been able to replace the cmdlets with SDK2 but will try to do that soon in my copy