NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

Connecting Existing LUNs in Powershell

MARCONICE
4,841 Views

To connect luns to Windows servers, we currently use the sdcli disk connect command.

Does anyone know the equivalent powershell command?

Thanks

3 REPLIES 3

DOMINIC_WYSS
4,840 Views

there doesn't seem to be an Powershell command for connecting a LUN.

you may need to run sdcli.exe from within Powershell.

https://library.netapp.com/ecm/ecm_download_file/ECMP1189424

MARCONICE
4,841 Views

I looked in that document but couldn't find it as you say.

Seems like an odd omission, no?

The issue with running the SDCLI from powershell is that it seels to output the following:

Input snapshot name(y/n)?(10):

Input snapshot name(y/n)?(9):

Input snapshot name(y/n)?(8):

Input snapshot name(y/n)?(7):

Input snapshot name(y/n)?(6):

Input snapshot name(y/n)?(5):

Input snapshot name(y/n)?(4):

Input snapshot name(y/n)?(3):

Input snapshot name(y/n)?(2):

Input snapshot name(y/n)?(1):

Warning: Snapshot name is not available!

Any idea how to stop it doing this?

JGPSHNTAP
4,840 Views

I've done this in the past, just used sdcli in the powershell window without issue

Public