суббота, 22 июля 2023 г.

Powershell commands

 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 
 

Комментариев нет:

RESET WINDOWS PASS LOCAL ADMIN

  Reset Account Password Without Logging in on Windows 11 On Windows 11, you can rese­t your password right from the lock screen. You don’...