문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
windows:powershell [2019/11/27 10:00] kwon37xi [언어 변경] |
windows:powershell [2022/01/02 19:04] kwon37xi [Powershell script from remote] |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== Windows Powershell ====== | ====== Windows Powershell ====== | ||
* https:// | * https:// | ||
+ | * [[: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
===== 기본 개인 profile 파일 ===== | ===== 기본 개인 profile 파일 ===== | ||
줄 97: | 줄 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 | ||
+ | </ | ||
===== tail ===== | ===== tail ===== | ||
마지막 1000 줄 보여주면서 계속 출력하기 | 마지막 1000 줄 보여주면서 계속 출력하기 | ||
줄 118: | 줄 136: | ||
=====언어 변경 ===== | =====언어 변경 ===== | ||
+ | * 언어팩은 설정을 통해서만 다운로드 가능하다. 명령행으로 현재까지는 불가함. | ||
+ | * [[https:// | ||
+ | < | ||
+ | # 가능할수도? | ||
+ | Get-WindowsCapability -Online | ? Name -like ' | ||
+ | |||
+ | Add-WindowsCapability -Online -Name ' | ||
+ | Add-WindowsCapability -Online -Name ' | ||
+ | </ | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
줄 133: | 줄 162: | ||
< | < | ||
Set-WinHomeLocation -GeoId 0x86 | Set-WinHomeLocation -GeoId 0x86 | ||
+ | </ | ||
+ | |||
+ | ===== Reboot ===== | ||
+ | * https:// | ||
+ | |||
+ | <code sh> | ||
+ | Restart-Computer | ||
</ | </ | ||