Hi David
are you trying to do that on the plugin host or on the Snapcenter host?
anyway try to do in this way
import both modules, snapcenter and snapdrive
then open the connection with the command
open-smconnection ..
instead the Set-StandaloneCommand use the following
set-sdsettings $true
and then
new-sdlun
let me know