Technicians Guide How to Set a Static IP on Windows UI CMD and PowerShell
Автор: IT Ninja Warrior
Загружено: 2026-01-08
Просмотров: 67
The Technicians Guide How to Set a Static IP on Windows UI CMD and PowerShell
Please subscribe to my channel ⬆️ and like this video ↗️
.
Commands Used:
netsh interface show interface
netsh interface ip set address name="Ethernet 6" static 192.168.1.250 255.255.255.0 192.168.1.254
netsh interface ip set dns name="Ethernet 6" static 8.8.8.8
netsh interface ip add dns name="Ethernet 6" 192.168.1.254 index=2
.
netsh interface ip set address name="Ethernet 6" source=dhcp
netsh interface ip set dns name="Ethernet 6" source=dhcp
.
Get-NetAdapter
New-NetIPAddress -InterfaceIndex 6 -IPAddress 192.168.1.250 -PrefixLength 24 -DefaultGateway 192.168.1.254
Set-DnsClientServerAddress -InterfaceIndex 6 -ServerAddresses 9.9.9.9,208.67.222.222
.
Set-NetIPInterface -InterfaceAlias "Ethernet 6" -Dhcp Enabled
Set-DnsClientServerAddress –InterfaceAlias "Ethernet 6" -ResetServerAddresses
.
Whether you are a novice home user or experienced technician if you found this video helpful feel free to bookmark for future use or save the link in your knowledge base, wiki, confluence or ticket. Lets Ninja fix IT! 💪
.
Note: These guides are not intended to guarantee resolution on any issues, warnings, or errors you are experiencing with your infrastructure. A strong technical background is recommended in, but not limited to, server administration, Window OS, networking, Office 365, cmd line, powershell and general MSP best practices. Always export the current configuration, confirm backup solutions are up to date, make a backup\snapshot\checkpoint before making any changes. Do not make any irreversible changes or deletion events with out performing the later.
Hashtags
--------------
#windows #microsoft #server #windows10 #windows11 #network #networking #adapter #cmd #powershell #staticIP #script #scripting #powershellscripting
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: