Spin up your PowerShell. do the import-module DataONTAP and then do this:
$FilerName = "Name"
$narootpasswd = "p@ssword"
################################
$password = ConvertTo-SecureString "p@ssword" -AsPlainText -Force
$Cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "root",$password
$Filer = Connect-NaController $FilerName -Credential $Cred
There are a bunch of ways but this is easiest for me.

0 comments:
Post a Comment