r/PowerShell • u/LegitimateEye8153 • Jan 06 '26
Creating a powershell script that toggle IPv6
Hello ,
I want to ask if i can write a script and make it run automatically when windows start to enable ipv6 if it disabled or disable it if enabled because i have a problem , computers can't read domain and show undefiend network so it takes long time to signout .
0
Upvotes
View all comments
Show parent comment
1
u/purplemonkeymad Jan 06 '26
The default settings, on windows, won't use ipv6 for the domain if you don't get router advertisements or have dhcpv6 setup. If you have something putting out router advertisements you either need to disable that or configure a ula & dns for your domain network.