I have an aggregate that I want to retire. Volumes have volume based encryption. I'm trying to migrate volumes to other aggregates with aggr level encryption. but it appears the start-ncvolmove cmdlet doesn't have an option to use aggregate encryption. I'm using the latest PSTK 9.7. anyone else found a way to do this?
It doesn't look like the Start-NcVolMove cmdlet itself supports the necessary aggregate encryption parameter (-encrypt-with-aggr-key), unfortunately. However, the API that the cmdlet calls - volume-move-start - does. You can use the "Invoke-NcSystemApi" cmdlet to make the API call directly to work around the gap. Something like this might work: