문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
windows:powershell [2021/06/24 14:05] kwon37xi |
windows:powershell [2024/03/05 13:00] kwon37xi |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== Windows Powershell ====== | ====== Windows Powershell ====== | ||
* https:// | * https:// | ||
- | * ====== Starship ====== | + | * [[:starship|Starship]] |
- | * https://starship.rs | + | |
- | * https:// | + | |
- | * The minimal, blazing-fast, | + | |
- | * Linux, Mac OS X, Windows 모두에서 사용가능한 shell prompt 확장 | + | |
- | + | ||
- | + | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
===== 기본 개인 profile 파일 ===== | ===== 기본 개인 profile 파일 ===== | ||
줄 105: | 줄 99: | ||
</ | </ | ||
+ | ===== Powershell script from remote ===== | ||
+ | * [[https:// | ||
+ | |||
+ | <code sh> | ||
+ | Invoke-WebRequest -Uri https:// | ||
+ | </ | ||
+ | * [[https:// | ||
+ | <code sh> | ||
+ | # Created by Daniel Jean Schmidt | ||
+ | [Net.ServicePointManager]:: | ||
+ | |||
+ | $Script = Invoke-RestMethod https:// | ||
+ | |||
+ | Invoke-Expression $Script | ||
+ | </ | ||
+ | * [[https:// | ||
+ | |||
+ | < | ||
+ | # script 주소는 올바르게 변경할 것. | ||
+ | $ScriptFromGitHub = Invoke-WebRequest https:// | ||
+ | Invoke-Expression $($ScriptFromGitHub.Content) | ||
+ | </ | ||
===== tail ===== | ===== tail ===== | ||
마지막 1000 줄 보여주면서 계속 출력하기 | 마지막 1000 줄 보여주면서 계속 출력하기 | ||
줄 160: | 줄 176: | ||
Restart-Computer | Restart-Computer | ||
</ | </ | ||
+ | |||
+ | ===== Linux PowerShell ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
===== 참조 ===== | ===== 참조 ===== | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||