1.
$Env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")
$Env:Path = [System.Environment]::GetEnvironmentVariable("Path","User")
Reload Environment variables
2.
Get-Childitem -Path c:\ -Include jsc.exe -Recurse -ErrorAction SilentlyContinue
Search file
Комментариев нет:
Отправить комментарий