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

This commit is contained in:
James Rodewig 2019-03-25 09:00:03 -04:00 committed by GitHub
parent 7b4f964708
commit e8a93b8915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,