i guess you also imported the Snapdrive module, correct?
i'm asking to dobule check because some PS commands are not integrated with SnapCenter itself, and the new-sdlun is one of them.
This is a command that belong to Snapdrive
With the latest release, SDW can be installed as integrated mode or standalone mode. in integration mode only the intergrated commands are allowed to be executed and other commands will show a an error "This command is not supported in Snap Center plugin mode".
You can enable these commands to be working by enabling then using commandlet
Following are the example of enabling and disabling the commands not integrated with Snap center.
Sorry, I did leave out that important detail that i am getting the message on the snap center server itself
New-SdLun : This command is not supported in SnapCenter Plug-in mode
Thanks for the info relating to this, I am not able to enable the command on the snap center server
PS C:\Windows\system32> Set-StandaloneCommand Set-StandaloneCommand : The term 'Set-StandaloneCommand' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + Set-StandaloneCommand + ~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Set-StandaloneCommand:String) , CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Matte, why is there not a document that tells us all this. The powershell support for Snapcenter is lacking not to mention the documentation. Its fine to have a list of all the commands, and the bare minimum of connection info, but I'm trying to cobble together provisioning a Lun, mounting it, etc but there is not how to for it.
The snapcenter powershell modules seem just like rebranded SnapManager & Snapdrive cmdlets that have to be run on a host instead of loading the module on mylaptop to command many systems from one.. Now in v4.1 of Snapcenter, I'd think powershell would have been more refined.
Is there any work being done to clean this up and make it easier and better documented?
you should remove snapdrive, you’re right! The snapdrive PS module is part of the snapcenter windows plugin (They have the same name unfortunately) and you can find it in the plugin installation directory.
Usually you just need to open powershell where the windows plugin is installed and run
another think you should pay attention to is that if you already have installed the windows plugin along with the exchange one, the best option would be to remove uninstall snapdrive and the windows plugin and then install SCW again.
This becase if you remove snapdrive it will also remove the data ontap VSS HW provider and this can create trouble if you have to use VSS for backup.