Explorar o código

Update Windows command to support prettified json licenses (#40375)

James Rodewig %!s(int64=6) %!d(string=hai) anos
pai
achega
5bbdc809aa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/reference/licensing/update-license.asciidoc

+ 1 - 1
docs/reference/licensing/update-license.asciidoc

@@ -92,7 +92,7 @@ On Windows machine, use the following command:
 
 [source,shell]
 ------------------------------------------------------------
-gc .\license.json |  Invoke-WebRequest -uri http://<host>:<port>/_license -Credential elastic -Method Put -ContentType "application/json"
+Invoke-WebRequest -uri http://<host>:<port>/_xpack/license -Credential elastic -Method Put -ContentType "application/json" -InFile .\license.json
 ------------------------------------------------------------
 
 In these examples,