This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install SysInternals BGInfo/AutoLogon tools | |
function Install-SysInternalsTool | |
{ | |
#Target directory is %WinDir%C:\Windows\System32\SysInternals | |
$targetDir = Join-Path $env:WinDir "System32\SysInternals" | |
#Tools to be downloaded | |
$tools = @{ | |
Bginfo = "http://live.sysinternals.com/Bginfo.exe" | |
Autologon = "http://live.sysinternals.com/Autologon.exe" |
NewerOlder