We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15fb086 + 0bf2006 commit c996cd0Copy full SHA for c996cd0
content/en/docs/tasks/tools/install-kubectl-windows.md
@@ -56,7 +56,7 @@ The following methods exist for installing kubectl on Windows:
56
- Using PowerShell to automate the verification using the `-eq` operator to get a `True` or `False` result:
57
58
```powershell
59
- $($(CertUtil -hashfile .\kubectl.exe SHA256)[1] -replace " ", "") -eq $(type .\kubectl.exe.sha256)
+ $(Get-FileHash -Algorithm SHA256 .\kubectl.exe).Hash -eq $(Get-Content .\kubectl.exe.sha256)
60
```
61
62
1. Append or prepend the `kubectl` binary folder to your `PATH` environment variable.
0 commit comments