Q: How to install SysInternals in Powershell to allow access through CLI I am currently trying to make junctions in my Windows 10 filesystem and also need to delete a directory with process-locked files in it.
SysInternals seems to have 2 great packages in the form of handle and junction. I'd love to use them if only I could figure out how to install them. I have tried:


*

*Downloading the junction source directly and using ./junction64.exe /install=agent (even though I don't know what that means, probably not wise really). This prints a promising message about the program to terminal but does not make it accessble from path.

*Using this article (which initially looked like a parting in the clouds) - I can download the suite but it does not work as shown, just provides 
2 PowerShell scripts. When trying to run the (presumed) install script at C:\chocolatey\lib\sysinternals.2018.12.27\tools\chocolateyInstall.ps1 with Set-ExecutionPolicy Bypass -Scope Process -Force | Powershell .\chocolateyInstall.ps1 it comes up that a keyword "Install-ChocolateyZipPackage" is not recognised.


I am sure for such a ubiquitous tool that I am searching the nooks and the solution is hiding in plain sight, but I am not very experienced in package managers and thus I am getting a tad weary in this search
EDIT: Whilst the accepted answer below is valid for the question I have come to realise that I could have just used chocolatey for the entire process, as chocolatey quite rightly recognises it as a package: choco info SysInternals to find available packages with this name and then choco install <packageName>. All executables within SysInternals will be available from $Path

A: Using package managers is great.
I use Chocolatey myself but the downside (personally) is that you don't need to use them regular enough to get it ingrained in memory.
As for the Sysinternals tools, this is just an xcopy deployment so you just download the entire suite and unzip it to wherever you like on you system.
For ease of use, you can add the folder where you've copied the tools to the path environment variable. From then on, you can open your favorite command line shell and run any tool Sysinternals provides.
