We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ff1c52 commit 43bc350Copy full SHA for 43bc350
Management-Utilities/iscsi-vol-create-and-mount/CreateDisk.ps1
@@ -63,8 +63,7 @@ Set-Service -Name msiscsi -StartupType Automatic
63
64
#### Connect to FSX ####
65
Write-Host "Connectiong to FSx filesystem" -ForegroundColor Yellow
66
-$PWord = ConvertTo-SecureString -String $password -AsPlainText -Force
67
-$credntials = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $user, $PWord
+$credntials = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $user, $password
68
try {
69
Connect-NcController $ip -Credential $credntials -ErrorAction Stop
70
}
0 commit comments