#Connect-NcController: A parameter cannot be found that matches parameter name 'HTTPS'

1 messages · Page 1 of 1 (latest)

untold remnant
#

Hi! I'm currently looking at a script that's failing all over the place after an upgrade of ONTAP to 9.13.1. The error above is a bit interesting since the documentation states that -HTTP and -HTTPS is still available (I've checked both PSTK 9.14.1 and 9.13.1). Guess we can just remove it and let it default to HTTPS but I'm a bit curious if I'm doing something wrong or if something have changed.

Connect-NcController -Name <IP> -HTTPS -Credential admin

polar falcon
ivory bloom
#

I've run into errors here an there with Connect-NcController, and, as someone mentioned in another thread, I was able to get it working by adding " -ONTAPI" to the end of the command.

untold remnant
#

Yeah, I've solved quite a lot of issues by just using -ONTAPI. In this case that doesn't help though. 🙂

#

PS C:\Users\Home> connect-nccontroller <IP> -HTTPS -Credential admin -ONTAPI

PowerShell credential request
Enter your credentials.
Password for user admin: *********

Connect-NcController: A parameter cannot be found that matches parameter name 'HTTPS'.