PowerShell로 IP Address 설정하기

1) 현재 설정 확인하기
**InterfaceIndex 확인할 것


2) DHCP Server로부터 IP 받기
Set-NetIPInterface -InterfaceIndex 4 -Dhcp Enabled

3) 수동으로 IP 설정하기
New-NetIPAddress -InterfaceIndex 4 -IPAddress -PrefixLength 24 -DefaultGateway

4) DNS Server 설정하기
Set-DnsClientServerAddress -InterfaceIndex 4 -ServerAddresses “ ,”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s