User Tools

Site Tools


отключение_регистрации_сетевых_адаптеров_в_dns

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
отключение_регистрации_сетевых_адаптеров_в_dns [2024/08/14 08:36] jpотключение_регистрации_сетевых_адаптеров_в_dns [2024/08/15 14:47] (current) jp
Line 21: Line 21:
 <WRAP prewrap> <WRAP prewrap>
 <code> <code>
-get-netipConfiguration | ?{($_.InterfaceAlias -notlike "*cisco*") -and (($_.InterfaceAlias -like "*Ethernet*") -or ($_.InterfaceAlias -like "*Wi-Fi*") -or ($_.InterfaceAlias -like "*Беспр*"))} | Set-DnsClient -RegisterThisConnectionsAddress:$false -Verbose+get-netipConfiguration | ?{($_.InterfaceAlias -notlike "*cisco*") -and (($_.InterfaceAlias -like "*Ethernet*") -or ($_.InterfaceAlias -like "*Wi-Fi*") -or ($_.InterfaceAlias -like "*Беспр*"))} | ForEach-Object {Set-DnsClient -InterfaceAlias $_.InterfaceAlias -RegisterThisConnectionsAddress:$false -Verbose}
 </code> </code>
 </WRAP> </WRAP>
отключение_регистрации_сетевых_адаптеров_в_dns.1723624574.txt.gz · Last modified: 2024/08/14 08:36 by jp