feremanagement.blogg.se

Sysinternals suite windows
Sysinternals suite windows





sysinternals suite windows

$InstalledPSVersion = Get-Content -Path $Destination\psversion.The Sysinternals Troubleshooting Utilities have been rolled up into a single Suite of tools. # If destination already exist, get version of destination content Write-Host -ForegroundColor Yellow "Source:" $SourcePSVersion $SourcePSVersion = Get-Content -Path $Source\psversion.txt # If access to the source, get the version of the source content $Destination = "$env:ProgramFiles\SysinternalsSuite" # Installation destination for all the tools included in Sysinternals Suite Write-Host -ForegroundColor Green "Internet OK" $Internet = ::CreateInstance(::GetTypeFromCLSID('')).IsConnectedToInternet Will return True if Internet is available.

sysinternals suite windows

  • Removes the Sysinternals folder including content.
  • If the tools aren’t installed locally, or if there’s a mismatch in versions, new files will be copied/installed.
  • If the versions match, nothing will be installed
  • If they are installed, checks for version installed.
  • Checks if the tools are installed locally.
  • If access, checks for version of the tools available online.
  • Check for an active Internet connection.
  • The script comes with 2 options: Install and Uninstall (Install-SysInternalsSuite.ps1 -Install and Install-SysInternalsSuite.ps1 -Uninstall) I’ve tried my best (almost) to explain along the lines what the script does. It almost goes without saying, but we don’t use any local source files in this scenario and we therefore download them directly from the Sysinternals file share. This is how you always install the latest version using System Center Configuration Manager and a Powershell script.įor this to work, there’s a single requirement in having an active Internet connection at the time of installing. The Sysinternals Suite can be downloaded like any other bunch of tools and distributed with whatever method you prefer (download the latest version here: ), but what if you always want the latest and greatest version, but don’t have the interest or resources to keep track of dates and versions? Read on. At least I think it’s different and creative 🙂 It’s an unusual and kind of off topic subject to me, but it might be useful to someone anyway.







    Sysinternals suite windows