Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Network binding order‎ without nvspbind

$
0
0

Hi,

I am lookingto put anewpossibility, theNICbind orderwithPowerShell.

The use of nvspbind isunfortunatelynot an option.

$ServerName = "work"

$objReg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine', $ServerName)
$objRegKey = $objReg.OpenSubKey("SYSTEM\\Currentcontrolset\\Services\\TCPIP\\Linkage" )
$arrItem = $objRegKey.GetValue("Bind")
$arrItem

Seeking an opportunity to re-sort the outputof $arrItemand the RegKeythen rewrite.

Does anyone have an idea?

 


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>