File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7359,7 +7359,7 @@ function Global:Invoke-SgwExpansion {
73597359 [parameter (Mandatory = $False ,
73607360 Position = 1 ,
73617361 HelpMessage = " StorageGRID Profile to use for connection." )][Alias (" Profile" )][String ]$ProfileName ,
7362- [parameter (Mandatory = $False ,
7362+ [parameter (Mandatory = $True ,
73637363 Position = 2 ,
73647364 HelpMessage = " StorageGRID Passphrase." )][String ]$Passphrase
73657365 )
@@ -7394,7 +7394,7 @@ function Global:Invoke-SgwExpansion {
73947394 $Body = ConvertTo-Json - InputObject @ { passphrase = $Passphrase }
73957395
73967396 try {
7397- $Response = Invoke-SgwRequest - WebSession $Server.Session - Method $Method - Uri $Uri - Headers $Server.Headers - SkipCertificateCheck:$Server.SkipCertificateCheck
7397+ $Response = Invoke-SgwRequest - WebSession $Server.Session - Method $Method - Uri $Uri - Headers $Server.Headers - Body $Body - SkipCertificateCheck:$Server.SkipCertificateCheck
73987398 }
73997399 catch {
74007400 $ResponseBody = ParseErrorForResponseBody $_
You can’t perform that action at this time.
0 commit comments