부동산, 채권, 주식, 경제흐름 자료를 모아 보는 블로그입니다.

PowerShell ps1 Script 실행 본문

끄적끄적

PowerShell ps1 Script 실행

runardor 2016. 8. 22. 09:27

현재 파워쉘 실행 정책 가져오기


Get-ExecutionPolicy




일회성으로 실행 가능한 형태로 파워쉘 실행


powershell.exe -noexit -executionpolicy unrestricted



영구적으로 실행 가능하도록 실행


Set-ExecutionPolicy Unrestricted



영구적으로 실행 불가하도록 실행 ( 기본설정으로 되돌리기 )


Set-ExecutionPolicy Restricted



출처 : https://nasemo.com/archives/1995

'끄적끄적' 카테고리의 다른 글

Python 설치후 CMD에서 Python Parameter가 안넘어 갈때  (0) 2016.08.23
PowerShell Base64 Decoding  (0) 2016.08.22
Comments