ONTAP Discussions

Set-NcDiskForeign

PatMichael
754 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
732 Views

Try using Set-NcDiskForeignLun, not Set-NcDiskForeign

Thanks,

Abdulloh

View solution in original post

1 REPLY 1

amaan
733 Views

Try using Set-NcDiskForeignLun, not Set-NcDiskForeign

Thanks,

Abdulloh

Public