You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -27,19 +103,16 @@ function global:Connect-SGWServer {
27
103
[parameter(Mandatory=$True,
28
104
Position=1,
29
105
HelpMessage="A System.Management.Automation.PSCredential object containing the credentials needed to log into the StorageGRID Webscale Management Server.")][System.Management.Automation.PSCredential]$Credential,
30
-
[parameter(Mandatory=$True,
31
-
Position=2,
32
-
HelpMessage="Account ID for Tenenant Login")][System.Management.Automation.PSCredential]$AccountID,
33
106
[parameter(Mandatory=$False,
34
-
Position=3,
107
+
Position=2,
35
108
HelpMessage="This cmdlet always tries to establish a secure HTTPS connection to the StorageGRID Webscale Management Server, but it will fall back to HTTP if necessary. Specify -HTTP to skip the HTTPS connection attempt and only try HTTP.")][Switch]$HTTP,
36
109
[parameter(Mandatory=$False,
37
-
Position=4,
110
+
Position=2,
38
111
HelpMessage="This cmdlet always tries to establish a secure HTTPS connection to the StorageGRID Webscale Management Server, but it will fall back to HTTP if necessary. Specify -HTTPS to fail the connection attempt in that case rather than fall back to HTTP.")][Switch]$HTTPS,
39
112
[parameter(Mandatory=$False,
40
-
Position=5,
113
+
Position=3,
41
114
HelpMessage="If the StorageGRID Webscale Management Server certificate cannot be verified, the connection will fail. Specify -Insecure to ignore the validity of the StorageGRID Webscale Management Server certificate.")][Switch]$Insecure,
42
-
[parameter(Position=6,
115
+
[parameter(Position=4,
43
116
Mandatory=$False,
44
117
HelpMessage="Specify -Transient to not set the global variable `$CurrentOciServer.")][Switch]$Transient
45
118
)
@@ -63,23 +136,12 @@ function global:Connect-SGWServer {
63
136
$Server|Add-Member-MemberType NoteProperty -Name Name -Value $Name
0 commit comments