Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
Tags
- typescript
- elasticsearch
- venv
- node.js
- Crontab
- kibana
- grok
- ELK
- windows
- 7.7.1
- CSV
- OPCUA
- airflow
- dense_vector
- devtools
- path.data
- framework
- ubuntu
- PYTHON
- Data Engineering
- DSL
- logstash
- configure
- json
- elastic
- query
- Tutorial
- filebeat
- KoA
- package.json
Archives
- Today
- Total
Gibbs Kim's playground
[ElasticStack-4] Windows PowerShell execution policy (feat. Filebeat) 본문
Tech 기록지/Elastic Stack
[ElasticStack-4] Windows PowerShell execution policy (feat. Filebeat)
Lio Grande 2020. 4. 6. 16:27PowerShell execution 정책의 기본값은 다음과 같다.
Default
- Restricted for Windows clients.
- RemoteSigned for Windows server.
'install-service-filebeat.ps1'을 PowerShell로 실행 시, 오류가 발생한다면, 기본적으로는 다음과 같은 명령어를 사용하면 권한 할당이 정상적으로 이루어져 .ps1 스크립트를 실행 가능하다.
> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
나머지 Policy 정책을 보고 싶다면 다음 링크를 참고하면 된다.
about_Execution_Policies - PowerShell
About Execution Policies In this article --> Short Description Describes the PowerShell execution policies and explains how to manage them. Long Description PowerShell's execution policy is a safety feature that controls the conditions under which PowerShe
docs.microsoft.com