Skip to content

Commit c44bdb2

Browse files
authored
Merge pull request #39581 from Arhell/es-imp
[es] improvement: kubectl install on windows verify command
2 parents b1ca7a8 + cbe9d2d commit c44bdb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/es/docs/tasks/tools/included/install-kubectl-windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Existen los siguientes métodos para instalar kubectl en Windows:
5757
- Usando PowerShell puede automatizar la verificación usando el operador `-eq` para obtener un resultado de `True` o `False`:
5858
5959
```powershell
60-
$($(CertUtil -hashfile .\kubectl.exe SHA256)[1] -replace " ", "") -eq $(type .\kubectl.exe.sha256)
60+
$(Get-FileHash -Algorithm SHA256 .\kubectl.exe).Hash -eq $(Get-Content .\kubectl.exe.sha256))
6161
```
6262
6363
1. Agregue el binario a su `PATH`.

0 commit comments

Comments
 (0)