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.

ONTAP Discussions

Set-NcDiskForeign

PatMichael
1,450 Views

We ae trying to use Set-NcDiskForeign in powershell.  when we call it, we see this error:

 

PS C:\Users\patrick.michael> Set-NcDiskForeign -SerialNumber $serialnumber
Set-NcDiskForeign : Unable to find API: storage-disk-modify
At line:1 char:1
+ Set-NcDiskForeign -SerialNumber $serialnumber

 

In current ontap, I see storage array modify does not have that option (its a storage array set-foreign-lun command).   we are using the powershell toolkit 9.13.1.    Ontap is 9.12

 

anyone have any success using the Set-NcDiskForeign cmdlet?

1 ACCEPTED SOLUTION

amaan
1,428 Views

Try using Set-NcDiskForeignLun, not Set-NcDiskForeign

Thanks,

Abdulloh

View solution in original post

1 REPLY 1

amaan
1,429 Views

Try using Set-NcDiskForeignLun, not Set-NcDiskForeign

Thanks,

Abdulloh

Public