Browse Source

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

James Rodewig 6 years ago
parent
commit
5bbdc809aa
1 changed files with 1 additions and 1 deletions
  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,