While I can't help you out with Mr. Rich's PS module, I can certainly help you with PowerShell scripts to automate creating a new volume from a snapshot of an existing volume. The attached examples make use of the Nimble REST API - note that you are going to need to be on Nimble OS 2.3 or greater.
I'm attaching two files here. The first is a simplified example where you are presenting the cloned volume back to the same host(s) that the original volume is presented to. The second script takes an additional argument of an initiator group name that you'd like the newly created volume to be presented to. It removes the original initiator group mapping and then maps it to the initiator group you specify.
clonescripts.zip 2.2 K
Nimble just released "Nimble PowerShell Toolkit NPT"
I have a few questions about it:
1. It says support Array versions
what's the version number for those?
2. When we tried to connect to a array using Connect-NsGroup command, we got following error:
Get-Certificate : Failed to get website certificate. The error was 'Exception calling "GetResponse" with "0" argument(s): "Unable to connect to the remote server"'.
any help would be appreciated!