dev/windowServer
windows powershell 로 이미지 화일들의 메타태그를 얻어오자.
Kelvin™
2017. 12. 7. 23:44
시작할때 권한 설정을 해야 함.
■변경방법
※관리자권한으로 파워쉘 실행해줘야함。。。까먹고 안해줘도 나중에 에러메세지로 알려줌.
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Windows\system32>powershell
Windows PowerShell
Copyright (C) 2015 Microsoft Corporation. All rights reserved.
PS C:\Windows\system32> ExecutionPolicy <-- 현재상태확인
Restricted <---- 모든 스크립트 막음
PS C:\Windows\system32>
PS C:\Windows\system32> Set-ExecutionPolicy Unrestricted
PS C:\Windows\system32>
PS C:\Windows\system32> ExecutionPolicy <-- 다시 확인
Unrestricted <---- 모든 스크립트 허용으로 바뀐거 확인 됨.
PS C:\Windows\system32>
폴더명이 한글로 된 폴더명은 나오지 않음.
POWERSHELL SOURCE ( 출처: https://gallery.technet.microsoft.com/scriptcenter/c3d0ea6c-64a1-4716-a262-bcd71c9925fc )