Windows °íÁ¤ ³×Æ®¿öÅ© ¼³Á¤ ÀÚµ¿È & ¿ÀÇÁ¶óÀÎ °Á¦ ÇÖ½ºÆÌ ½Ãµ¿ Powershell ½ºÅ©¸³Æ®
1228;가 노트ǥ13;에서 사용Ȣ16;lj16; 스크립트들1077;니다 1060;곳 1200;곳에서 1676;1665;기해서 만들었습니다. (첨ǥ12;파1068; 확1064;)
ForceRunHotspotKR.ps1
hostednetwork 기능(netsh wlan show drivers에서 확1064; 가능)1012; 무선랜 드라1060;버에서 1648;원Ȣ16;1648; 않아도160;
오프라1064; 상태에서 핫스팟1012; 강1228;/196; 시ᇼ1;할 수 1080;습니다.
HotspotRegistry.reg
윈도우 버1204;마다 1201;용 여Ȣ16;가 다를 수 1080;,192;1004;나 오프라1064; 핫스팟 상태가 연1109; 유1648;.104;도/197; /112;1648;스트리를 변ᅆ1;합니다. (추가1201;1004;/196; 무선랜카드1032; 1208;1204; 설1221;1012; 해1228;해1452;시면 1328; 더 확실합니다)
* Windows10 핫스팟 기능: 온라1064; 상태에서만 켤 수 1080;고 오프라1064; 상태가 .104;면 1068;1221; 시간뒤 1088;ᇼ1; 1333;료.121;니다.
NetworkConfig.ps1
IPV4 네트워크 환ᅆ1;1012; 한번에 0148;ǂ12;1469;니다. 빨간 색 ǥ12;ǥ16;1012; 본1064; 네트워크 Ǻ12;ᇨ1;터 1060;름1004;/196; 변ᅆ1;해서 사용Ȣ16;여야 합니다
코드 커스터마1060;1669;1004;/196; 상NJ17;7176; 편리Ȣ16;,172; 사용1060; 가능할 ,163;1004;/196; 생각.121;니다. (1201;용1060; 확실한 코드만1004;/196; 구성했습니다)
http://developerworrick.blogspot.com/2015/11/pc.html
# Self-elevate the script if required
if (-Not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) {
160;if ([int](Get-CimInstance -Class Win32_OperatingSystem | Select-Object -ExpandProperty BuildNumber) -ge 6000) {
160; $CommandLine = "-File `"" + $MyInvocation.MyCommand.Path + "`" " + $MyInvocation.UnboundArguments
160; Start-Process -FilePath PowerShell.exe -Verb Runas -ArgumentList $CommandLine
160; Exit
160;}
}
# http://developerworrick.blogspot.com/2015/11/pc.html
echo "1. Dynamic (Windows Default) 2. PC to PC Main 3. PC to PC Sub"
$switchType = Read-Host "번호를 1077;/141;Ȣ16;세요"
$i = Get-WmiObject win32_networkadapterconfiguration -filter "Description='Realtek PCIe FE Family Controller'"
if ($switchType -eq "1"){
160; 160; $i.EnableDHCP()
160; 160; Set-DNSClientServerAddress -interfaceIndex $i.InterfaceIndex -ResetServerAddresses
} elseif ($switchType -eq "2"){
160; 160; $i.EnableStatic("192.168.0.1", "255.255.255.0")
160; 160; $i.SetGateways("", 1)
160; 160; Set-DNSClientServerAddress -interfaceIndex $i.InterfaceIndex -ServerAddresses @("192.168.0.1", "")
} elseif ($switchType -eq "3"){
160; 160; $i.EnableStatic("192.168.0.$(Read-Host "Subnode IP (Except 1)")", "255.255.255.0")
160; 160; $i.SetGateways("192.168.0.1", 1)
160; 160; Set-DNSClientServerAddress -interfaceIndex $i.InterfaceIndex -ServerAddresses @("192.168.0.1", "")
}