간편하게 컴퓨터 유틸리티 & 최적화하기

간편하게 컴퓨터 유틸리티 & 최적화하기

휘낭시에 3 12
간편하게 컴퓨터 유틸리티 & 최적화하기간편하게 컴퓨터 유틸리티 & 최적화하기

실행 POWERSHELL 관리자 권한 실행


아래 스크립트를 복사해서 입력해 주세요


# ========================================

# 관리자 권한 체크

# ========================================

if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) {

Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File "$PSCommandPath"" -Verb RunAs

exit

}

# ========================================

# 로그 설정

# ========================================

$logFile = "$env:USERPROFILE\Desktop\optimization_log.txt"

Start-Transcript -Path $logFile

Write-Host "

3 Comments
붕붕이 04.22 07:29  
오 ㅋㅋㅋㅋㅋ
콘칩 04.22 17:20  
꿀팁감사해요
오호