ONTAP Discussions
ONTAP Discussions
language : powershell
ontap9 woks below code.
--------------------
[NetApp.Manage.NaServer] $s = New-Object NetApp.Manage.NaServer ---
$s.TransportType = "HTTPS";
--------------------
but 7-mode dosen't work.
Solved! See The Solution
Thank you for your answer
There is a reason to use powershell,that is in this program set ACL to qtree too.
※we use cifs protocol
I will consider other options as you say.
Thank you for your cooperation.
You can use the "Connect-NaController" cmdlet to connect to a 7-Mode system and specify the HTTPS parameter to force the connection to use HTTPS and not fall back to HTTP in the event of a failure:
Connect-NaController <controller> -HTTPS
See the output of the "Get-Help Connect-NaController -Full" command for complete documentation, and cmdlet examples.
Thank you for your answer.
but i have already created many programs with managibility-sdk.
Is PowershellToolkit the only way?
best regards.
PowerShell is certainly not the only option you have for leveraging the SDK - Python, Perl, Ansible (and probably more that I'm not listing) are also available. I'm a lot less familiar with those options since we are heavily invested in PowerShell at my organization, but I have seen references to many examples in various online documentation.
Thank you for your answer
There is a reason to use powershell,that is in this program set ACL to qtree too.
※we use cifs protocol
I will consider other options as you say.
Thank you for your cooperation.